springboot开发中thymeleaf模板报错template parsing
如题,模板一直报错:
An error happened during template parsing (template: “class path resource [templates/index.html]”)
尝试:
在index.html中将thymeleaf模板注释掉,只剩一般的html,可以正常运行,那就应该是thymeleaf出了问题
尝试加入最简单的thymeleaf语句,<span th:text="hello world"></span>,打印hello w
原创
2020-05-21 17:45:47 ·
589 阅读 ·
0 评论