1、首先下载本教程附件jRebel压缩包;
https://download.csdn.net/download/u013150378/10529398
2、打开Eclipse(3.6版本+),然后选择安装新软件:

3、选择Add,然后出现name可以随意填,后面的Location,选择我附件中的解压后的jrebel.zip包,然后一路点击next完成后重启即可,这里有个注意事项,就是下载的路径和压缩包最好是英文名,截图中命名为错误示范,不要模仿:

4、破解:将附件中解压后的jrebel.jar和jrebel.lic放入:
%eclipse_path%(这里是你的eclipse的路径)\plugins\org.zeroturnaround.eclipse.embedder_6.3.3.RELEASE\jrebel下面,如图:

5、重新启动eclipse即可看到注册信息表示破解成功:

6、最主要的是配置,这里坑了我两天时间,网上的很多教程都是坑人的,我填了很多坑,靠自己摸索出来的:
6.1 publishing:
将Automatically pulish when resources change勾选
6.2 Jrebel Integretion:
将Enable jRebel agent勾选
6.3 Server options:
去掉 Moudle auto reload by default
6.4 General Infomation - open launch configuration - arguments中添加:
-Xms512m -Xmx1024m
-XX:MaxNewSize=1024m
-XX:MaxPermSize=2048m
-noverify
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.struts2_plugin=true
-Drebel.hibernate_plugin=true
-Drebel.hibernate_validator_plugin=true
6.5 去掉Auto reload
双击tomcat配置,点击Moudles模式,将项目的Auto reload够选择 Disable
本文详细介绍了如何在Eclipse 3.6版本上安装并配置jRebel插件的过程,包括下载插件、破解方法及关键配置步骤,帮助开发者实现代码热更新,提高开发效率。
&spm=1001.2101.3001.5002&articleId=80964343&d=1&t=3&u=96ea1a5efe5a49b5a21f275fc6f53520)
5860

被折叠的 条评论
为什么被折叠?



