第一步获得JRebel安装包、下载地址:http://download.youkuaiyun.com/detail/www63912/9521213
第二步安装插件、打开Eclipse>Help>Install New SoftWare>Add>Archive 按下图进行安装,安装完成后会提示重新启动Eclipse,重启后,查看Eclipse>Window>Preferences会发现,多了一个JRebel的目录。
第三步获得破解包,下载地址:http://download.youkuaiyun.com/detail/www63912/9521215
解压破解包,把压缩包里的:jrebel.jar和jreble.lic两个文件,将这2个文件复制到
eclipse\plugins\org.zeroturnaround.eclipse.embedder_6.2.0.RELEASE-201505210657\jr6\jrebel(Eclipse安装目录)
eclipse\plugins\org.zeroturnaround.eclipse.embedder_6.2.0.RELEASE-201505210657\jrebel
并进行覆盖(覆盖时请先关闭Eclipse)
第四步配置
打开Server面板,双击Tomcat,来到Tomcat的Overview配置面板,确认如下图选中后点击Open Launch Configuration
为防止内测溢出,需要配置下图内容
-Drebel.spring_plugin=true
-Drebel.struts2-plugin=true
-Xms256M -Xmx512M -XX:MaxPermSize=128m
最后,结束了