1,无法导入tk.mybatis.mapper.common.Mapper
2.Mapper报错No libraries found for 'tk.mybatis.mapper.common.Mapper'
解决方法如下(添加通用mybatis这个依赖)
1.在pom.xml中添加tk.mybatis这个依赖
<dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> <version>2.1.5</version> </dependency>
- libraries mybatis Mapper common mapperlibraries mybatis mapper common mybatis-plus springboot mybatis mapper mybatis方法mapper mybatis方式mapper mybatis mapper and tk mybatis简介mapper mapper-locations mapperlocations mybatis-plus mybatis类型mapper clob mybatis-plus mybatis mapper plus association collection mybatis mapper