IDEA出現Could not autowire. No beans of 'xxx' type found.解決


Plan A

File → Project Structure...spring

Facets → Spring → 右鍵刪除便可3d


Plan B

File → Settings → Editor → Inspections → Springcode

把Mixed換成Warning便可。blog


Plan C

settings → inspections → spring → spring core → code → autowiring for bean class,右鍵替換成 warningit


相關文章
相關標籤/搜索