Idea2016配置并破解jrebel

准备工作:1、下载Jrebel的离线包安装包,我选择的版本是6.4.3版本。 
2、下载Jrebel的破解补丁包,同样也是针对6.4.3版本的

Jrebel官网下载地址:https://plugins.jetbrains.com/idea/plugin/4441-jrebel-for-intellij 
下载后是 jr-ide-intellij-6.4.3_13-16.zip 的一个文件

Idea2016配置并破解jrebel_第1张图片

补丁包地址:http://pan.baidu.com/s/1i4D9ZTz 获取密码 vecj 
下载后是 jrebel6.4.3-cracked.zip 的压缩包,并解压

然后离线安装 Jrebel插件 ,如下图

Idea2016配置并破解jrebel_第2张图片

安装完插件关闭 idea

下面开始破解

打开解压补丁,替换两个jar包与一个licence文件 ​

1、将本机 C:\Users\你的用户名\.jrebel\jrebel.lic替换为下载的补丁包里的 jrebel.lic;

2、C:\Users\你的用户名.IntelliJIdea2016.1\config\plugins\jr-ide-idea\lib\jrebel6\jrebel.jar

3、C:\Users\你的用户名.IntelliJIdea2016.1\config\plugins\jr-ide-idea\lib\jrebel\jrebel.jar 
Idea2016配置并破解jrebel_第3张图片

将补丁解压包里的文件分别覆盖一下文件,注意文件夹的名字哦。覆盖完 
然后启动idea 查看是否已激活 
Idea2016配置并破解jrebel_第4张图片

激活后,设置jrebel,选择settings -> jrebel -> advanced 选择Jrebel 6 Agent,然后重启idea。

Jrebel的配置按默认就好,最后通过Jrebel去启动tomcat

这里写图片描述

Idea2016配置并破解jrebel_第5张图片

当一个项目使用maven多模块开发时通过上面的配置, 只能自动加载webapp所在的模块, 若想改动其他模块的代码也要自动加载, 需在项目的根(父)pom.xml中加入下面的配置: 
Idea2016配置并破解jrebel_第6张图片


<plugin>
    <groupId>org.zeroturnaroundgroupId>
    <artifactId>jrebel-maven-pluginartifactId>
    <version>1.1.5version>
    <configuration>
        <addResourcesDirToRebelXml>trueaddResourcesDirToRebelXml>
        <alwaysGenerate>truealwaysGenerate>
        <showGenerated>trueshowGenerated>
    configuration>
    <executions>
        <execution>
            <id>generate-rebel-xmlid>
            <phase>process-resourcesphase>
            <goals>
                <goal>generategoal>
            goals>
        execution>
    executions>
plugin>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

运行mvn jrebel:generate, 生成rebel.xml文件.

Idea2016配置并破解jrebel_第7张图片

你可能感兴趣的:(idea)