3.application.yml配置spring
spring.devtools.restart.enabled=false
spring.thymeleaf.cache=false
1.解決thymeleaf修改代碼重啓問題app
導入jar包spring-boot
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>.net
2.application.yml配置rest
spring.thymeleaf.cache=false
————————————————
版權聲明:本文爲CSDN博主「DeBuggggggg」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處連接及本聲明。
原文連接:https://blog.csdn.net/u013294097/article/details/83090317blog