当前位置:Gxlcms > 数据库问题 > 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 r

时间:2021-07-01 10:21:17 帮助过:73人阅读

  1. <span style="color:#ff0000">The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files</span>
  1. 解释:
  1. org.springframework.dao.DataAccessException该<span style="background-color:inherit; font-family:arial,宋体,sans-serif,‘Microsoft YaHei‘,tahoma; line-height:1.5">类型不存在,不能从请求的.class文件中正确引用,应该是导入包的问题</span>
  1. <span style="background-color:inherit; font-family:arial,宋体,sans-serif,‘Microsoft YaHei‘,tahoma; line-height:1.5">
  2. </span>
解决方法: 导入spring.transaction-3.0.5.jar 包就好了。

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

版权声明:本文为博主原创文章,未经博主允许不得转载。

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

标签:spring.transaction   spring   dataaccessexception   

人气教程排行