IDEA 2018.2.- JReble熱部署失效
阿新 • • 發佈:2019-01-05
嘗試一下新的方法 :
檢查 : 1.rebel.xml 裡面配置的專案路徑是否正確,如果不正確,
2.pom.xml檔案中配置
<build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.zeroturnaround</groupId> <artifactId>jrebel-maven-plugin</artifactId> <version>1.1.5</version> <configuration> <addResourcesDirToRebelXml>true</addResourcesDirToRebelXml> <alwaysGenerate>true</alwaysGenerate> <showGenerated>true</showGenerated> </configuration> <executions> <execution> <id>generate-rebel-xml</id> <phase>process-resources</phase> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> </build>
最近幫同事下載的最新版的IDEA 2018.2.-後的版本出現,JReble熱部署失效,好像rebel.xml檔案正常,不知道還有沒有人碰見過,記錄一下。
解決辦法,退回2018.1.1版本