(已解决)IDEA 报错 Could not autowire. No beans of 'UserMapper' type found.

IDEA 报错 Could not autowire. No beans of ‘UserMapper’ type found.
解决办法:
Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(把√去掉)

猜你喜欢

转载自blog.csdn.net/qq_39329616/article/details/89640583