麻烦各位,解决一下,谢谢!
/
猿问
你的第一个截图中 application.properties的内容是yaml格式的,可以将其转换成普通的properties
spring.thymeleaf.cache=false
spring.thymeleaf.check-template-location=true
spring.thymeleaf.encoding=UTF-8
spring.thymeleaf.mode=HTML5
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.servlet.content-type=text/html
spring.thymeleaf.suffix=.html
举报