idea springboot热部署
1、pom文件添加:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
2、勾选自动编译
![](https://img2020.cnblogs.com/blog/1700663/202006/1700663-20200630210957768-1178454979.png)
3、idea按两次shift,搜索registry,打开registry设置,勾选running选项:
![](https://img2020.cnblogs.com/blog/1700663/202006/1700663-20200630210006150-1476548532.png)