框架学习

No MyBatis mapper was found in '[com.wuji.springboot]' package. Please check you

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

这个原因是启动器上要添加:@MapperScan("com.wuji.mapper")注解,让Spring发现创建此接口实例

 

https://www.cnblogs.com/javajiuyangzhenjing/p/10210636.html