SpringBoot热部署
1.添加spring-boot-devtools依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>2.0.4.RELEASE</version>
</dependency>
2.配置使java文件和静态资源热部署
Edit Configurations,配置部署的程序
3.配置application.yml
添加 jsp或Thymeleaf等页面模板引擎
spring:
thymeleaf:
cache: false