The application must supply JDBC connections at org.hibernate.service.jdbc.
測試時候問題:報錯!The application must supply JDBC connections at org.hibernate.service.jdbc. 檢查發現是hibernate.cfg.xml
中少了hierbrnate_001 正確的為:<mapping resource="hierbrnate_001/Students.hbm.xml"/>
2017-09-04
反正正常了?
2017-09-04
hibernate.cfg.xml和Students.hbm.xml要保證是同級目錄