环境:Eclipse,Tomcat
1.下载Eclipse的JRebel插件,一定要是6.3.3版本,太新会出错。
地址:http://update.zeroturnaround.com/update-site-archive/update-site-6.3.3.RELEASE/
2.安装插件,重启Eclipse
3.JRebel以及破解文件下载地址:http://www.cr173.com/soft/191113.html
4.将文件中的jrebel6和jrebel里的jrebel.jar文件分别替换掉到<Eclipse插件目录>/org.zeroturnaround.eclipse.embedder_6.3.3.RELEASE中的jr6和jrebel原有的jrebel.jar文件。注意有两个不同的文件都要替换
5.将jrebel.lic复制到~/.jrebel中。打开Eclipse破解成功。
使用方法:
1.Help->Jrebel Configuration->Project
2.选中要热部署的项目,勾选“启用JRebel”。
3.双击Tomcat Server,在Publishing一栏里选Automatically publish when resources change.Jrebel Integration一栏里开启Enable JRebel agent
4.完成。启动项目看到一下代码表示配置成功。
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel: Over the last 1 days JRebel prevented
2016-06-04 10:52:06 JRebel: at least 11 redeploys/restarts saving you about 0.4 hours.
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel: Licensed to VIMACER (ZeroTurnaround)
2016-06-04 10:52:06 JRebel: with the following restrictions:
2016-06-04 10:52:06 JRebel: ### Hello World Cracked ### :)
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel: License type: enterprise
2016-06-04 10:52:06 JRebel: Valid from: July 14, 2014
2016-06-04 10:52:06 JRebel: Valid until: August 18, 2888
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel: #############################################################
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel:
2016-06-04 10:52:06 JRebel: A newer version '6.4.5' is available for download
2016-06-04 10:52:06 JRebel: from http://zeroturnaround.com/software/jrebel/download/
2016-06-04 10:52:06 JRebel:
JRebel 支持Mybatis,Spring等上百种主流框架,功能实在是强大。
资源:http://download.csdn.net/detail/louxueming/9595069
原文:http://my.oschina.net/u/2254503/blog/686937