热部署设置时,注册表中未找到
compiler.automake.allow.when.app.running
解决:因为使用的idea是新版(19之后)
所以该项被移至
此外应当注意,这种方式只是相当于修改.java之后立刻帮你点击运行,
所以实际产生效果仍然需要编译、启动的一段延迟时间
具体热部署流程:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
参考:https://blog.csdn.net/qq_42994789/article/details/109200866