Could not autowire. No beans of 'xxxx' type found的錯誤提示

新導出的項目,總出現Could not autowire. No beans of 'xxxx' type found的錯誤提示, 現在有兩個解決辦法 1:降低Autowired檢測的級別,將Severity的級別由之前的error改成warning或其它可以忽略的級別。 如果沒有效果,看方法二 2:在接口的class 加入@Component,如第一個截圖的 UserInfoMapper,按ct
相關文章
相關標籤/搜索