idea中springboot無法自動裝配Could not autowire. No beans of 'xxx' type found

1.問題描述   在Idea的spring工程裏,經常會遇到Could not autowire. No beans of 'xxxx' type found的錯誤提示。但程序的編譯和運行都是沒有問題的,這個錯誤提示並不會產生影響。但紅色的錯誤提示在有些有強迫症的程序員眼裏,多多少少有些不太舒服。   問題分析 在 Idea 的 spring 工程裏,經常會遇到 Could not autowir
相關文章
相關標籤/搜索