一、安装jrebel插件。设置path to jrebel.jar为本地的。
二、pom.xml中在<build>下添加如下plugin
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<rebelXmlDirectory>${basedir}/src/main/webapp/WEB-INF/classes</rebelXmlDirectory>
</configuration>
</plugin>
三、jrebel配置。将Enable JReble agent前的checkBox打钩
本文介绍如何在Maven项目中安装并配置JRebel插件,包括设置本地路径到jrebel.jar文件,修改pom.xml文件来添加必要的插件配置,以及启用JRebel代理。
1076

被折叠的 条评论
为什么被折叠?



