maven 使用jrebel热部署,建议用tomcat7

来源:互联网 发布:oracle数据库语句大全 编辑:程序博客网 时间:2024/05/29 04:11

建议:

本人使用tomcat8配置完Jrebel后,启动服务报错:JRebel: ERROR Class 'org.apache.catalina.loader.WebappClassLoader' could not be processed by org.zeroturnaround.javarebel.integration.tomcat.WebappClassLoaderClassBytecodeProcessor@null: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] getClassLoaderResource(java.lang.String) not found in org.apache.catalina.WebResourceRoot,换到tomcat就没问题。

不知道是个性问题还是共性问题,有碰到的改用tomcat7试试。

安装:

eclipse 市场搜索jrebel:help-->eclipse marketplace  ,然后输入Jrebel搜索,然后安装插件,目前是Jrebel for eclipse 7.0.14 。

激活:

Jrebel的Overview 右上角有个激活按钮,点击conect to license server 进行激活,输入如下连接:http://jrebel.scuxl.cn/xxx,邮箱随便输入自己的,然后点激活即可。

通过这种方式不用配置jar包路径之类的繁琐事情

原创粉丝点击