急!!spring2.5+struts2+hibernate3 搭建问题求教

来源:百度知道 编辑:UC知道 时间:2024/07/04 08:13:49
用的myeclipse,sqlserver2005数据库,自动生成model和dao后报错,
The hierarchy of the type ValidationDao is inconsistent
the type org.springframework.dao.support.DaoSupport cannot be resolved.It is indirectly referenced from required .class files
the type org.springframework.dao.DataAccessException cannot be resloved.It is indirectly referenced from required .class files

在google上回答是这样的:
You checked which jar file?
In spring 3 the whole jar structure has been re-organized. There is no all-in-one spring.jar as before. You have to pick what you need.

DataAccessException is in spring-tx-3.2.2.RELEASE.jar