天天看點

安裝JRebel後tomcat啟動失敗

正常下載下傳安裝注冊JRebel之後。

執行下面操作:

配置

先到JRebel Configuration中把你的Tomcat勾上

安裝JRebel後tomcat啟動失敗

打開輕按兩下Tomcat打開overview

安裝JRebel後tomcat啟動失敗

然後點選open launch configuration

安裝JRebel後tomcat啟動失敗

在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

安裝JRebel後tomcat啟動失敗

同時到tomcat的Moudles中

安裝JRebel後tomcat啟動失敗

點選Edit

安裝JRebel後tomcat啟動失敗

去掉這個按鈕,使你的項目不會被tomcat本身熱部署

之後右鍵項目JRebel-->Add JRebel Nature  然後運作!