Develop Mybatis Plus关于mapper的配置 Mybatis Plus关于mapper的配置。~~~ @MapperScan({"com.gear.biz.mapper"}) Mybatis Plus关于mapper的配置 程序入口注解 @MapperScan 1 2 3 4 5 6 7 8 @MapperScan({"com.gear.biz.mapper"}) @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } 配置文件 1 2 mybatis-plus: mapper-locations: classpath*:com.gear.biz/*/*.xml