Could not autowire. No beans of ‘UserMapper‘ type found,不能自动装配。没有找到‘UserMapper‘类型的bean
时间 2021-04-10
标签
Santi
java
Could not autowire. No beans of ‘UserMapper‘ type found,不能自动装配。没有找到‘UserMapper‘类型的bean
在这里插入图片描述
操作:Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable对勾去掉即可
如图所示: