当前位置: 代码迷 >> 综合 >> 在项目中集成hibernate遇到的问题(1)
  详细解决方案

在项目中集成hibernate遇到的问题(1)

热度:78   发布时间:2024-01-17 12:56:00.0
在项目中集成hibernate时,有个一类实现了一个普通的接口并且继承了HibernateDaoSupport结果报出异常:
The hierarchy of the type xxx is inconsistentThe type org.springframework.dao.support.DaoSupport cannot be resolved. It is indirectly referenced from required .class files,发现缺少一些jar包,DapSupport需要依赖于其他的类,必须完全导入才行,因此添加了org.springframework.transaction-3.0.5.RELEASE.jar之后编译无错通过
  相关解决方案