The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced

使用spring3.2时候出现如题问题,

在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

你可能感兴趣的:(spring)