Could not autowire. No beans of ‘UserMapper‘ type found,不能自動裝配。沒有找到‘UserMapper‘類型的bean。少……檢查信息:檢查

操作:Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable對勾去掉即可 如圖:
相關文章
相關標籤/搜索