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.解决

相关文章:

  • 2021-11-22
  • 2021-05-31
  • 2021-06-29
  • 2021-08-11
  • 2021-04-25
  • 2021-08-27
  • 2021-06-04
猜你喜欢
  • 2021-12-10
  • 2021-07-18
  • 2021-09-16
  • 2022-12-23
  • 2021-09-16
  • 2021-06-21
  • 2021-08-13
相关资源
相似解决方案