idea spring-boot 热部署
来源:互联网 发布:高功能自闭症 知乎 编辑:程序博客网 时间:2024/06/12 07:35
1 在pom中添加
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional></dependency>
2 如果使用的是 thymeleaf 模板,那么在 application.properties 里添加,建议开发环境
spring.thymeleaf.cache=false
3 idea 配置
然后 Shift+Ctrl+Alt+/,选择Registry
再然后 勾上这个选项
ok了,重启一下项目,然后改一下类或是html里面的内容,IDEA就会自动去make了。
阅读全文
0 0
- idea Spring boot 热部署
- idea spring-boot 热部署
- idea+spring-boot+devtools热部署
- Spring Boot + Intellij IDEA 热部署
- idea + spring-boot-devtools启动热部署
- Spring Boot热部署(Gradle+IDEA)
- IntelliJ Idea 实现热部署 Spring Loaded spring-boot-devtools
- spring boot 热部署
- Spring Boot热部署
- spring boot 热部署
- spring boot热部署
- spring boot热部署
- Spring BOOT 热部署
- spring boot热部署
- Spring Boot 热部署
- spring boot热部署
- Spring Boot 热部署
- Spring Boot热部署
- Memcached expire 设置错误引起的set(key,exp,value)为true而get(key)为null的问题
- python的第一个小爬虫requests
- 前端知识之HTML----form----内部元素
- 2016 ACM-ICPC Asia Regional Changchun 1004 Triangle(打表)
- 前端知识
- idea spring-boot 热部署
- vue2.0返回上一页
- java.util.Scanner—— 详解
- 乱搞+数学——阶乘之乘
- Python中的rank()理解
- LeetCode-35-Search Insert Position 裸lower_bound
- Java中抽象类的实际应用:模板设计模式
- java split简单用法,误区
- 671. Second Minimum Node In a Binary Tree