1.依赖
<!--热部署工具-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
2.设置
3.勾选
CTRL+SHIFT+ALT+/ 选择 registry
springboot对jsp热加载的配置
server:
port: 8080
servlet:
jsp:
init-parameters:
development: true
避坑
- 热部署导致的同一类型转换异常问题
https://blog.csdn.net/feinifi/article/details/84990003