解决 IntelliJ IDEA Could not autowire. No beans of 'xxxx' type found 问题
原文地址 本文转自: https://blog.****.net/qq_34129814/article/details/100043721
问题:在idea进行开发中我们总会遇到提示Could not autowire. No beans of ‘xxxx’ type found…
解决方案:降低idea的Autowired检测级别,打开idea的配置
在Editor >> Inspections >> Spring >> Spring Core >> Code >>Autowiring for Bean Class 把Serverity级别由Error改编为Warning >> Apply >> OK 查看效果