Spring错误:The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly r

spring错误:
The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files
 
   
解释:
org.springframework.dao.DataAccessException该类型不存在,不能从请求的.class文件中正确引用,应该是导入包的问题

解决方法:
导入spring.transaction-3.0.5.jar 包就好了。

Spring3.0.5jar包用法详解:http://wxinpeng.iteye.com/blog/1114967

你可能感兴趣的:(spring)