本文主要解决问题:
解决Spring Boot下更好html需要重启不能热部署的问题。
背景:
最近做个财税的项目需求,用drools写分录,搭建个springboot的演示环境,四五年不搞开发了,手生了,这里记录一下如何设置SpringBoot的热部署。
步骤:
一、加入maven的依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
二、修改IDEA的项目设置

三、设置注册表
组合键:“Shift+Ctrl+Alt+/” ,选择 “注册表”

向下翻页,选中打勾 “compiler.automake.allow.when.app.running”

完美解决。