- 解决
- 步骤一
- 步骤二
- 步骤三
- 步骤四
依赖没有导入starter的,导入或者替换为如下
步骤二com.baomidou mybatis-plus-boot-starter 3.5.1
如果以上没有解决问题则配置查看你的yml配置
mybatis-plus: mapper-locations: classpath:mappers/*Mapper.xml
将mybatis替换为mybatis-plus
步骤三如果以上还没有解决,则查看是否有@MapperScan重复扫描
步骤四如果还是没有解决,那么代码看看



