IntelliJ Idea中maven工程spring報Could not autowire. No beans of 'xxx' type found異常的正確解決方法

1.問題 最近在用idea開發一個Maven工程,採用ssm架構,在controller中經常會出現這種錯誤 提示我們Could not autowire. No beans of 'xxx' type found. 這個錯誤很奇怪,雖然我的service是通過dubbo從外部引入的,但是各種配置都正確無誤,運行也沒有任何問題,所以出現這種錯誤讓我感覺摸不着頭腦 2.解決 網上說的那些修改auto
相關文章
相關標籤/搜索