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 @   非洲刘  阅读(154)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示