1、在application.propertis中新增如下配置
spring.thymeleaf.cache=false
2、在idea中intellij idea-perference-Build,Execution,Deployment-Complier中勾上Build project automatically

3、在idea中按command+option+shift+/选择Registry,勾选compiler.automake.allow.when.app.running

网友评论