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 把勾去掉即可,如下图: 问题解决!!!
相关文章
相关标签/搜索