1.IDE配置(idea)
- File-setting 选中
image.png
- Ctrl+shift+Alt+/
image.png
image.png
image.png
2.springboot项目配置
- 在需要进行热部署的springboot应用中添加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
- springboot的Maven的插件
image.png
- 配置springboot应用变化更新策略
image.png
网友评论