import org.apache.ibatis.annotations.Mapper 不存在
- 向
<dependencies>
标签内插入下列语句 -
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.4.6</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>1.3.2</version>
</dependency>
问题原因:mybatis版本太低 -