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