正常下載下傳安裝注冊JRebel之後。
執行下面操作:
配置
先到JRebel Configuration中把你的Tomcat勾上
打開輕按兩下Tomcat打開overview
然後點選open launch configuration
在Arguments中配置以下内容
-noverify
-javaagent:你自己的eclipse路徑\plugins\org.zeroturnaround.eclipse.embedder_7.0.14.RELEASE\jrebel\jrebel.jar
-Drebel.spring_plugin=true 要使用spring插件時設為true
-Drebel.struts2-plugin=true 要使用struts2插件時設為true
同時到tomcat的Moudles中
點選Edit
去掉這個按鈕,使你的項目不會被tomcat本身熱部署
之後右鍵項目JRebel-->Add JRebel Nature 然後運作!