Spring-boot集成Mybatis-Plus启动报如下错误
<<No MyBatis mapper was found in ‘[com.example.demo.mapper]’ package. Please check your configuration.>>
在启动类XXXApplicaton上加上 @MapperScan(basePackages = “com.demo.mapper”)注解
springboot集成mybatis-plus遇到的问题
阅读 76
2022-04-08
Spring-boot集成Mybatis-Plus启动报如下错误
<<No MyBatis mapper was found in ‘[com.example.demo.mapper]’ package. Please check your configuration.>>
在启动类XXXApplicaton上加上 @MapperScan(basePackages = “com.demo.mapper”)注解
相关推荐
精彩评论(0)