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

Juny-J / 2023-09-02 / 原文

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

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

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