IDEA報錯Could not autowire. No beans of 'UserMapper' type found.

我使用的idea2017 在學習mybatis 中我的 TestController 文件中有一個報錯,但是其中總有一個報錯,這是因爲他的上面的標籤 @Autowired 的設置問題 解決方法: Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(id
相關文章
相關標籤/搜索