Idea 热部署

 

1. Adding devtoolls to your project

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

2.Adding plugin to your pom.xml<build>

<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.Enabling automatic build

Idea 热部署

 

 

4 Update the value of registry

Idea 热部署

 

 5 重启idea

上一篇:求数组中间值的三种方法


下一篇:移动端网页特效