红线报错:Could not autowire. No beans of ‘ApiUserMapper’ type found. less… (Ctrl+F1) Inspection info:Checks autowiring problems in a bean class.
如图:
标题解决方法:在 Intellij Idea中设置一下:
Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(idea2017是把√去掉)
转载请注明原文地址: https://mac.8miu.com/read-500960.html