特别容易报500本地没问题部署就有了
注意以下几点
spring.thymeleaf.prefix=classpath:/templates/斜杠是要有的
spring.thymeleaf.mode=LEGACYHTML5避免严格检查
很重要的一点尤其喜欢粘贴的朋友,后面一定不要有空格以后继续补充