Springboot 热启动热部署
一、springloader实现热部署
运行方法一:使用spring-boot:run
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
2、添加spring-boot-maven-plugin
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
3、idea设置
devtools热部署参考地址 https://blog.csdn.net/xusheng_Mr/article/details/78771746