首页 > 代码库 > The type org.springframework.dao.support.DaoSupport cannot be resolved. It is indirectly referenced

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

springmvc mybatis整合,遇到错误:The type org.springframework.dao.support.DaoSupport cannot be resolved. It is indirectly referenced

缺依赖包导致,在pom.xml加入依赖

<dependency>
  <groupId>org.springframework</groupId>
  <artifactId>org.springframework.transaction</artifactId>
  <version>3.2.2.RELEASE</version>
</dependency>

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