Springboot热部署配置
部署后可达到改动代码自动实现热部署
1.Adding devtools to your project
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
2.Adding plugin to your pom.xml
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.5.RELEASE</version>
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
</plugins>
</build>
3.Enabling automatic build
确定自动构建、并行编译、重建模块打勾
4.Update the value of
Ctrl+Alt+Shift 打开注册表
以上两个选项打钩