springboot|springboot 项目热部署
- pom文件
org.springframework.boot
spring-boot-devtools
true
spring-boot-maven-plugin
- 设置idea的设置
文章图片
image.png - mac 是command+option+shift+/弹出 选择Registry中的,勾选上
文章图片
image.png - 重启idea
F12(或Ctrl+Shift+J或Ctrl+Shift+I)--> NetWork --> Disable Cache(while DevTools is open)
文章图片
image.png
【springboot|springboot 项目热部署】但是这些对于ftl文件没有用,最后的解决办法为:在target中修改对应的文件,即可达到实时修改
推荐阅读
- 热闹中的孤独
- Activiti(一)SpringBoot2集成Activiti6
- SpringBoot调用公共模块的自定义注解失效的解决
- 解决SpringBoot引用别的模块无法注入的问题
- 2018年6月7日|2018年6月7日 日记
- 17|17 关山松 第二课作业#公众号项目# D20
- RxJava|RxJava 在Android项目中的使用(一)
- 我那水深火热的二婚生活
- 热爱的东西就得坚持哦
- Hacking|Hacking with iOS: SwiftUI Edition - SnowSeeker 项目(一)