参见:https://blog.csdn.net/qq_36935391/article/details/98534001
spring-cloud实现热部署
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
eclipse中只需要配置到pom文件即可生效