Unsatisfied dependency expressed through field 'baseMapper'的解决方法

跑项目时出现报错:Unsatisfied dependency expressed through field 'baseMapper'; 

原因出在:你的Application中未加入注解或者注解有误,应改成如下:

@MapperScan("com.xxx.xxx.mapper")
posted @ 2023-09-02 10:57  Juny-J  阅读(1701)  评论(0)    收藏  举报