Could not autowire. No beans of ‘BookMapper‘ type found.

Could not autowire. No beans of ‘BookMapper’ type found. 解決方法,在IDEA中設置一下, Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable 把勾去掉即可,如下圖: 問題解決!!!
相關文章
相關標籤/搜索