码迷,mamicode.com
首页 > 其他好文 > 详细

IDEA热部署

时间:2018-03-27 12:36:42      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:art   src   soft   compile   app   查看   UI   ctrl   mic   

1.pom.xml添加依赖

1 <!--热部署-->
2 <dependency>
3     <groupId>org.springframework.boot</groupId>
4     <artifactId>spring-boot-devtools</artifactId>
5 </dependency>

2.打开:File——Settings——Compiler,勾选Build project automatically

技术分享图片

3.按Ctrl+Shift+A,在弹出窗口中输入Registry,打开第一项

技术分享图片

4.在弹出的Registry窗口中,勾选compiler.automake.allow.when.app.running

技术分享图片

5.设置完毕,重启IDEA查看效果。

IDEA热部署

标签:art   src   soft   compile   app   查看   UI   ctrl   mic   

原文地址:https://www.cnblogs.com/jakeylove3/p/8656303.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!