1、下载一个jrebel的文件,解压到D:\Sys\jrebel6.0.0-crack,在eclipse的classpath路径下面配置rebel.xml <?xml version="1.0" encoding="UTF-8"?> <application xmlns:xsi="http://www./2001/XMLSchema-instance" xmlns="http://www." xsi:schemaLocation="http://www. http://www./alderaan/rebel-2_0.xsd"> <classpath> <dir name="D:\SystemFile\EclipseWorkspace\SpringAQConsume\target"> </dir> </classpath> <web> <link target="/"> <dir name="D:\SystemFile\EclipseWorkspace\SpringAQConsume\src\main\webapp"> </dir> </link> </web> </application>
2、在tomcat里面配置 -javaagent:D:\Sys\jrebel6.0.0-crack\jrebel.jar -noverify -Xbootclasspath/p:D:\Sys\jrebel6.0.0-crack\rebelboot.jar -javaagent:D:\Sys\jrebel-6.0.2\jrebel.jar -noverify -Xbootclasspath/p:D:\Sys\jrebel-6.0.2\rebelboot.jar *********6.2.2需要以下设置********** -noverify -Djavaagent:D:/Sys\server/JRebel/JRebel6.2.0/jrebel.jar -DXbootclasspath/p:D:\Sys\server\JRebel\JRebel6.2.0\rebelboot.jar -Drebel.generate.show=true -Drebel.spring_plugin=true -Drebel.aspectj_plugin=true -Drebel.cxf_plugin=true -Drebel.logback_plugin=true -Drebel.mybatis_plugin=true -Xdebug -Djava.compiler=NONE -DXrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Drebel.dirs=D:\SystemFile\EclipseWorkspace\integrate-svr\integrate-main\target\classes -Dmyproject.root=D:\SystemFile\EclipseWorkspace\integrate-svr -Drebel.disable_update=true |
|
来自: feimishiwo > 《java》