使用IDEA
application.properties中添加
#关闭thymeleaf缓存
spring.thymeleaf.cache=false
设置idea --> File --> Settings --> 查找 build project automatically --> 选中
设置idea --> File --> Settings --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running
重启IDEA
设置Chrome