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

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

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

posted @ 2019-01-02 19:14  Java九阳真经  阅读(8036)  评论(0编辑  收藏  举报