首先打开Edit configurations,做如下更改
更改完成后发现更改templates下面的html文件依旧不生效,最后发现thymeleaf还要配置一下,在application.properties中添加
spring.thymeleaf.cache=false
ok,再次修改html文件,可以生效了
首先打开Edit configurations,做如下更改
更改完成后发现更改templates下面的html文件依旧不生效,最后发现thymeleaf还要配置一下,在application.properties中添加
spring.thymeleaf.cache=false
ok,再次修改html文件,可以生效了