码上敲享录 > IntelliJ IDEA常见问题分享 > idea出现Could not autowire. No beans of 'XXX' type found.

idea出现Could not autowire. No beans of 'XXX' type found.

上一章章节目录下一章 2020-02-21已有1520人阅读 评论(0)

idea出现Could not autowire. No beans of 'XXX' type found.


解决方法:

idea的spring注入bean出现上述错误,导致红色波浪线,去除idea对spring注入的bean检测即可。

file--》setting--》Inspections--》Spring Core--》Code--》选择Autowiring for Bean Class-->把右边的Severity右Error改为Warning


向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti
0

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交