JdbcTemplate 报错The type org.springframework.dao.DataAccessException cannot be resolved
解决方案:
1.若没用到maven则直接导入spring-tx-5.0.3.RELEASE.jar包
2.若已经使用maven管理项目则为加入该spring-tx-5.0.3.RELEASE.jar,若加入后还不行的话可以看看导包的test是否存在如存在取消试试。
06-24
6318
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-20
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交