红线报错:Could not autowire. No beans of ‘ApiUserMapper’ type found. less… (Ctrl+F1) Inspection info:Checks autowiring problems in a bean class.

如图:
IDEA:Could not autowire. No beans of 'UserMapper' type found. more... (Ctrl+F1)

标题解决方法:在 Intellij Idea中设置一下:

Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(idea2017是把√去掉)
IDEA:Could not autowire. No beans of 'UserMapper' type found. more... (Ctrl+F1)

相关文章:

  • 2022-12-23
  • 2021-07-02
  • 2021-12-19
  • 2021-06-10
  • 2021-10-11
  • 2021-06-21
  • 2021-04-20
  • 2021-07-13
猜你喜欢
  • 2021-11-03
  • 2021-06-14
  • 2022-01-10
  • 2021-05-25
  • 2021-08-30
  • 2021-12-14
  • 2021-07-01
相关资源
相似解决方案