springboot集成thymeleaf中爬过的坑
使用springboot 搭建了框架,然后再加入thymeleaf ,经过测试后发现thymeleaf 完全无效,错误:不能返回页面,只返回字符串。application.properties的配置:#thymeleaf
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
spring.thymel...
原创
2018-06-18 13:23:47 ·
5971 阅读 ·
6 评论