当我们整合springBoot+mybatis+mybatis plus
使用的是springboot+mybatis的框架,一切接口服务均没有问题
但是使用mybatis plus 的时候mybatis就不能用了我们可以把配置文件application的mybatis改成
mybatis:
config-location: classpath:Mybatis/mybatisConfig.xml #mybatis文件配置地址
mapper-locations: classpath:Mybatis/Mapper/*.xml #mapper文件配置地址
改成
mybatis-plus:
config-location: classpath:Mybatis/mybatisConfig.xml #mybatis文件配置地址
mapper-locations: classpath:Mybatis/Mapper/*.xml #mapper文件配置地址
就不会报错l