idea出现Could not autowire. No beans of 'XXX' type found.
解决方法:
idea的spring注入bean出现上述错误,导致红色波浪线,去除idea对spring注入的bean检测即可。
file--》setting--》inspections--》Spring Core--》http://www.yayihouse.com/yayishuwu/chapter/2459
码上敲享录 发布了1204 篇原创文章 · 获赞 68 · 访问量 166万+ 关注