The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files
原因:
少导jar包所致
解决方法:
导入spring-tx-4.3.8.RELEASE.jar
地址记录:
http://mvnrepository.com/artifact/org.springframework/spring-tx/4.3.8.RELEASE