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

解决办法:

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

@MapperScan("com.moon.xxx.mapper")

相关文章: