其他分享
首页 > 其他分享> > Idea 热部署

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

 

 

4 Update the value of registry

 

 5 重启idea

标签:Adding,部署,spring,boot,Idea,springframework,true,your
来源: https://www.cnblogs.com/chentaohere/p/14904826.html