Spring Boot 热启动插件
作者:互联网
1. maven依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
2. 父工程的pom文件中加入插件
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
</plugins>
</build>
3.
4.
5.
标签:插件,Spring,boot,springframework,maven,热启动,spring,true 来源: https://www.cnblogs.com/wufuqin/p/15616571.html