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

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

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

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

这样,页面访问正常了。