Java 日食不';不显示正确的错误行

Java 日食不';不显示正确的错误行,java,html,eclipse,spring,thymeleaf,Java,Html,Eclipse,Spring,Thymeleaf,我正在做一个项目,使用SpringMVC和SpringToolsSuite ide,使用ThymileAF和html5。当我有一个未关闭的标记时,eclipse会给我以下错误: org.thymeleaf.exceptions.TemplateInputException: Exception parsing document: template="index", line 727 - column 35 a div tag must end with </div> org.th

我正在做一个项目,使用SpringMVC和SpringToolsSuite ide,使用ThymileAF和html5。当我有一个未关闭的标记时,eclipse会给我以下错误:

org.thymeleaf.exceptions.TemplateInputException: Exception parsing document: template="index", line 727 - column 35

a div tag must end with </div>
org.thymeleaf.exceptions.TemplateInputException:异常解析文档:template=“index”,第727行-第35列
div标记必须以结尾

但当我转到该行和列时,没有未关闭的标记或div标记。这种情况发生在我的其他标签上,比如
input
img
,但它们总是告诉我错误的行和列,我必须搜索整个文件才能找到正确的未关闭标签。有没有办法解决这个问题???

我不知道你是否有webtools,也许它可以帮助你验证你的html。这个链接是[link],也发布了页面上的所有代码,也许你遗漏了什么。我使用了thymeleaf。它通常指向正确的线。您可能希望将html验证为XHTML,是否使用布局来构建html文件?行号是指要查看的完整构建的html页面。我使用的是spring tools Suite ide,我不知道什么是布局?