关于在Spring项目中使用thymeleaf报Exception parsing document错误

  今天在使用SpringBoot的过程中,SpringBoot版本为1.5.18.RELEASE,访问thymeleaf引擎的html页面报错Exception parsing document:

  

这是thymeleaf版本过低的问题。在pom.xml的properties节点中加入

这样,页面访问正常了。

posted @ 2019-01-08 19:49  快乐每一天kzp  阅读(416)  评论(0编辑  收藏  举报