org.hibernate.HibernateException: Could not parse configuration: ⼀hibernate.cfg.xml 错误

2025-04-14 07:40:43
推荐回答(1个)
回答1:

不光是hibernate.cfg.xml的问题,你需要检查一下dao文件是否有问题,配置参数是否出现了类型不匹配的问题。
com.test.first.DAO.StudentMapDao.addStudent(StudentMapDao.java:20)
com.test.first.action.FirstSturts.add(FirstSturts.java:45)