【Intellij idea】spring中@Autowired注入失败

时间:2019-03-09 22:03:12   收藏:0   阅读:313

@Autowired注入失败失败的解决办法?

现有的解决的方案是:

打开file-settings或者ctrl+alt+s -> Editor

 

然后在Inspections 点击搜索栏 输入Spring Core

 

在Spring Core -> Code -> Autowring for Bean Class中将Severity的级别由之前的error改成warning。


---------------------
作者:小Sunny呀
来源:CSDN
原文:https://blog.csdn.net/qq_33886821/article/details/80168552
版权声明:本文为博主原创文章,转载请附上博文链接!

原文:https://www.cnblogs.com/yhm9/p/10503241.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!