Could not autowire. There is more than one bean of xxx type.

參考博客:https://blog.csdn.net/yisany_Q/article/details/85019859 注入拼寫錯誤,降低Autowired檢查的級別。在Intellij idea中,點擊 File->Settings。將Severity的級別從之前的 error 改爲 warning ,點擊Apply保存即可。
相關文章
相關標籤/搜索