IDEA出现Could not autowire. No beans of 'xxx' type found.解决


Plan A

File → Project Structure...

Facets → Spring → 右键删除即可


Plan B

File → Settings → Editor → Inspections → Spring

把Mixed换成Warning即可。


Plan C

settings → inspections → spring → spring core → code → autowiring for bean class,右键替换成 warning


posted @ 2019-02-03 20:45  无尽函数  阅读(7610)  评论(0编辑  收藏  举报