实现html热部署 spring: thymeleaf: cache: false freemarker: cache: false #页面不加载缓存,修改即时生效 实现视图的热部署并不需要导入spring-boot-devtools 进入 settings Shift+Ctrl+Alt+/” ,选择 “Registry” 更新视图后 ,大概5秒内即可刷新想要更快的刷新方式,直接点击锤子也是可以滴~