spring boot 下mybatis的mapper Could not autowire问题

问题描述

  在Idea的spring工程里,经常会遇到Could not autowire. No beans of 'xxxx' type found的错误提示。但程序的编译和运行都是没有问题的,这个错误提示并不会产生影响。但红色的错误提示在有些有强迫症的程序员眼里,多多少少有些不太舒服。



下载安装【MyBatis plugin】2.92版本插件,,



启动后在IDEA的Event窗口中有以下输出:

1 Mybatis Plugin: Mybatis Plugin is not activated yet. Click here to enter your license key to activate the plugin.

这是一个收费的插件,需要购买license

可下载破解版


在http://download.csdn.net/detail/qdqht2009/9923881下载插件破解版,替换之前的文件,重启idea。






猜你喜欢

转载自blog.csdn.net/qdqht2009/article/details/76855494