一. 问题描述
在整合hibernate
和spring
的时候出现以下异常:
The type org.springframework.dao.support.DaoSupportcannot be resolved. It is indirectly referenced from required .class files
二. 解决方案
检查一番之后发现少加入了一些jar
包 (DapSupport
依赖于其他的类,必须完全导入才行),添加了[org.springframework.transaction-3.0.5.RELEASE.jar]
之后编译无错通过,如果还有错,就要看是否还有其他的jar
包没有被导入。
公众号ID:longjiazuoA

未经允许不得转载:人生设计师 » The type org.springframework.dao.support.DaoSupport cannot be resolved. It is indirectly referenced