1.修改application.properties 配置文件 spring.thymeleaf.cache=false 2.修改以后执行Ctrl+shift+F9 转载于:https://www.cnblogs.com/moondear/p/8854672.html