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

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


Plan A

File → Project Structure...

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

Facets → Spring → 右键删除即可

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


Plan B

File → Settings → Editor → Inspections → Spring

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

把Mixed换成Warning即可。


Plan C

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

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


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

上一篇:系统编程-信号-信号发送kill、raise、alarm


下一篇:flask web开发-网页模板问题错误解决:raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: