首页 > 其他 > 详细

Could not autowire. No beans of 'xxxx' type found解决办法

时间:2019-12-26 10:24:59      阅读:105      评论:0      收藏:0      [点我收藏+]
在Idea的spring工程里,经常会遇到Could not autowire. No beans of ‘xxxx‘ type found的错误提示。但程序的编译和运行都是没有问题的,这个错误提示并不会产生影响。
技术分享图片

解决方案:降低Autowired检测的级别,将Severity的级别由之前的error改成warning或其它可以忽略的级别。

技术分享图片

 

 

Could not autowire. No beans of 'xxxx' type found解决办法

原文:https://www.cnblogs.com/flyinghome/p/12100315.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!