安装JRebel后tomcat启动失败
正常下载安装注册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 然后运行!