idea SpringBoot jar 热部署

由于使用的eclipse总是感觉卡顿

遂转idea编辑器,除了主题颜色,操作习惯不太熟悉外,使用流畅还是很不错的

在debug代码时遇到了代码未能热部署的问题,在eclipse中似乎没管过这个问题

简单搜索了一番


项目是springBoot  用的jar包形式启动

网上有介绍在 pom.xml文件中添加插件的形式,事实上是自动重新启动罢了

所以选择了 Jrebel插件

方案一:(已测可用)

使用教程 参考:https://blog.csdn.net/xiayiguo/article/details/79328705


插件下载:

1)则是使用idea内置的方式下载  File->Settins->Plugins->Browse repositories> 在搜索框中输入 Jrebel 点击install即可(过程会略久,建议翻墙)

2)网页下载: https://plugins.jetbrains.com/plugin/4441-jrebel-for-intellij


插件破解教程

http://idea.lanyus.com/help/help.html 

反向代理工具, 可用于激活JRebel  (win64)

https://github.com/ilanyu/ReverseProxy/releases

下载这个软件 ReverseProxy_windows_amd64.exe


方案二:这种是使用的文件破解的形式(尚未测试)

https://www.cnblogs.com/wang1024/p/7211194.html

猜你喜欢

转载自blog.csdn.net/zx1323/article/details/80153629