首页 > 编程语言 > 详细

idea设置Springboot项目修改html后不需要重启

时间:2018-11-08 14:03:49      阅读:360      评论:0      收藏:0      [点我收藏+]

idea 2.5  spingboot 2.1 测试通过,方法如下:

在pom.xml中加入下面的依赖

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <optional>true</optional>
</dependency>

“File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically” 。

组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中打勾 “compiler.automake.allow.when.app.running”。

搞定!!!

idea设置Springboot项目修改html后不需要重启

原文:https://www.cnblogs.com/rvs-2016/p/9928626.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!