报错:Could not autowire. No beans of 'AccountMapper' type found.
公共类:
调用方:
注入报错:
引入相关pom:
common:
报错:Could not autowire. No beans of 'AccountMapper' type found.
公共类:
调用方:
注入报错:
引入相关pom:
common:
在AccountMapper接口上添加@Repository注解。如果你用的是mybatis可以试试@Mapper注解