我根据jhipster4博客演示的视频教程生成了一个博客应用程序,但是一旦我在eclipse中更改了.html或.java文件,spring-boot就不会自动部署这些更改,因此当我刷新浏览器时没有任何更改
这是pom.xml,
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>你知道怎么修吗?谢谢。
发布于 2017-03-08 12:35:22
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin </artifactId>
<configuration>
<executable>true</executable>
<fork>true</fork>
<addResources>true</addResources>
<!--
Enable the line below to have remote debugging of your application on port 5005
<jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments>
-->
</configuration>
<dependencies>
<!--springloaded hotdeploy -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
<version>1.2.4.RELEASE</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<classifier>exec</classifier>
</configuration>
</execution>
</executions>
</plugin>https://stackoverflow.com/questions/42650833
复制相似问题