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