springboot版本2.2.2 | mybatisplus版本3.4
插件JRebel mybatisPlus extension不生效
最终解决办法:
git clone git@github.com:SweetInk/jrebel-mybatisplus.git
cd jrebel-mybatisplus
mvn -f jrebel-mybatisplus/pom.xml clean package
将构建好的jar包挪到任意目录,然后启动
java "-agentpath:/任意目录/jrebel/lib/libjrebel64.so" -Drebel.remoting_plugin=true -Drebel.plugins=/任意目录/jr-mybatisplus.jar -jar xxx.jar
重新编译项目,远程同步代码后再次请求接口,当控制台输出“Reloading SQL maps”则生效
参考
基于JRebel开发的MybatisPlus热加载插件_modchina的博客-CSDN博客_jrebel mybatis