您的位置: 首页 > 文章 > IDEA提示Could not autowire. No beans of ‘xxxx‘ type found问题解决 IDEA提示Could not autowire. No beans of ‘xxxx‘ type found问题解决 分类: 文章 • 2024-07-28 15:24:16 问题截图 这个是IDEA编辑器的问题,代码不影响,但是有强迫症的话,看着不舒服 问题解决 方法一: 加上那个@Resource,就不会报错了 方法二: 降低Autowired检测的级别,将Severity的级别由之前的error改成warning或其它可以忽略的级别。