<!-- <dependency>--> <!-- <groupId>org.mybatis.spring.boot</groupId>--> <!-- <artifactId>mybatis-spring-boot-starter</artifactId>--> <!-- <version>1.3.0</version>--> <!-- </dependency>-->
<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.3.1</version> </dependency>
可能原来写的xml会产生not bound 问题
解决方案
增加配置
mybatis-plus:
mapper-locations: classpath:mybatis/mapper/*.xml