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
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