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发现创建此接口实例

    原文作者:MyBatis
    原文地址: https://www.cnblogs.com/javajiuyangzhenjing/p/10210636.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞