mybatis警告:
No MyBatis mapper was found in '[com.moon.children]' package. Please check your configuration.
解决办法:
在启动类加一个注解就行了,虽然不影响但是强迫症看到警告就去掉
@MapperScan("com.moon.xxx.mapper")
首页 > 技术文章 > mybatis警告: No MyBatis mapper was found in '[com.moon.children]' package. Please check your configuration.
lightice 2020-08-30 05:02 原文
No MyBatis mapper was found in '[com.moon.children]' package. Please check your configuration.
解决办法:
在启动类加一个注解就行了,虽然不影响但是强迫症看到警告就去掉
@MapperScan("com.moon.xxx.mapper")