mybatis警告: No MyBatis mapper was found in '[com.moon.children]' package. Please check your configuration.

mybatis警告:

No MyBatis mapper was found in '[com.moon.children]' package. Please check your configuration.

解决办法:

在启动类加一个注解就行了,虽然不影响但是强迫症看到警告就去掉

@MapperScan("com.moon.xxx.mapper")
posted @ 2020-08-30 05:02  碎了的冰  阅读(6302)  评论(0编辑  收藏  举报