idea springboot热部署

1、pom文件添加:

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
2、勾选自动编译

 

 

3、idea按两次shift,搜索registry,打开registry设置,勾选running选项:
  

 

 

posted @ 2020-06-30 21:12  非洲刘  阅读(153)  评论(0编辑  收藏  举报