遇到Could not autowire. No beans of ‘xxxx’ type found的错误提示 在Idea的spring工程里,经常会遇到Could not autowire. No beans of ‘xxxx’ type found的错误提示。但程序的编译和运行都是没有问题的,这个错误提示并不会产生影响。 解决方案 降低Autowired检测的级别,将Severity的级别由之前的error改成warning或其它可以忽略的级别。 相关文章: 2021-07-15 2021-11-03 2021-10-02 2021-08-30 2022-12-23 2022-12-23 2021-05-31 2021-06-29