Jrebel5.3.1破解使用方法

1.Open Java EE perspective, New Tomcat 7 Server and Deploy Web Project.

Double click Tomcat Server open server configuration.

 

2.Overview Tag> General Information > Open launch configuration > Arguments Tag

 1)Method 1:  append VM arguments content as below:

-noverify 
-javaagent:E:\小米网盘\Work\workspace\jrebel5.3.1\jrebel.jar 
-Drebel.dirs=E:\小米网盘\Work\workspace\struts2hello\build\classes
-Drebel.spring_plugin=true 
-Drebel.hibernate_plugin=true 
-Drebel.struts2-plugin=true

 Instruction:

  -javaagent: specify the location of jrebel.jar

  -Drebel.dirs specify directories to monitor

 

2)Method2:  append VM arguments content as below:

-noverify 
-javaagent:E:\小米网盘\Work\workspace\jrebel5.3.1\jrebel.jar 
-Drebel.spring_plugin=true 
-Drebel.hibernate_plugin=true 
-Drebel.struts2-plugin=true

add rebel.xml

<?xml version="1.0" encoding="UTF-8"?>
<application
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.zeroturnaround.com"
  xsi:schemaLocation="http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">
  <classpath>
    <dir name="E:\小米网盘\Work\workspace\Struts2Demo\build\classes"/>
  </classpath>
  <web>
    <link target="/">
      <dir name="E:\小米网盘\Work\workspace\Struts2Demo\WebContent"/>
    </link>
  </web>
</application>

 

 

3.Overview Tag> Publishing > Check Automatically publish when resources change

 

4.Modules Tag> set project auto reload is Disabled.


Jrebel5.3.1破解使用方法_第1张图片
 

5.Delete C:\Users\xxx\.jrebel directory.

 

6.Start Tomcat Server.

if crack successful, log display as below:


Jrebel5.3.1破解使用方法_第2张图片
 

Attention:

1. jrebel.jar and jrebel.lic must be in same directory.

你可能感兴趣的:(jrebel)