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