idea中springboot无法自动装配Could not autowire. No beans of 'xxx' type found

1.问题描述   在Idea的spring工程里,经常会遇到Could not autowire. No beans of 'xxxx' type found的错误提示。但程序的编译和运行都是没有问题的,这个错误提示并不会产生影响。但红色的错误提示在有些有强迫症的程序员眼里,多多少少有些不太舒服。   问题分析 在 Idea 的 spring 工程里,经常会遇到 Could not autowir
相关文章
相关标签/搜索