idea springboot热部署

时间:2020-06-30 23:01:10   收藏:0   阅读:107

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选项:
  技术图片

 

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!