環境:Eclipse,Tomcathtml
1.下載Eclipse的JRebel插件,必定要是6.3.3版本,太新會出錯。框架
地址:http://update.zeroturnaround.com/update-site-archive/update-site-6.3.3.RELEASE/eclipse
2.安裝插件,重啓Eclipse插件
3.JRebel以及破解文件下載地址:http://www.cr173.com/soft/191113.htmlrest
4.將文件中的jrebel6和jrebel裏的jrebel.jar文件分別替換掉到<Eclipse插件目錄>/org.zeroturnaround.eclipse.embedder_6.3.3.RELEASE中的jr6和jrebel原有的jrebel.jar文件。注意有兩個不一樣的文件都要替換htm
5.將jrebel.lic複製到~/.jrebel中。打開Eclipse破解成功。ip
使用方法:部署
1.Help->Jrebel Configuration->Projectit
2.選中要熱部署的項目,勾選「啓用JRebel」。io
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等上百種主流框架,功能實在是強大。