theamleaf报错:
-
pom 缺少theamleaf依赖。–排除了
-
application.properties文件里面的配置缺失
spring.thymeleaf.mode=HTML
spring.thymeleaf.encoding=utf-8
spring.thymeleaf.cache=false
发现也存在。3.prefix缺失:
spring.thymeleaf.prefix=classpath:/templates/
theamleaf报错:
pom 缺少theamleaf依赖。–排除了
application.properties文件里面的配置缺失
spring.thymeleaf.mode=HTML
spring.thymeleaf.encoding=utf-8
spring.thymeleaf.cache=false
发现也存在。
3.prefix缺失:
spring.thymeleaf.prefix=classpath:/templates/