【发布时间】:2013-02-03 16:53:22
【问题描述】:
这困扰了我一段时间,网上似乎没有任何帮助;基本上我找不到特定异常消息的任何内容,除了异常消息之外我不知道要查找什么。
我的应用程序中有一个收据页面,以前可以使用,但现在它抛出了
org.thymeleaf.exceptions.TemplateProcessingException: Error processing template: dialect prefix "th" is set as non-lenient but attribute "th:src" has not been removed during process (/static/receipt:57)
其中th:src 是第一次出现的“th”元素。我不做任何自定义处理——只是一个带有很少百里香叶的 HTML 页面。页面被解析,因为当我在语法中有错误时,它告诉我 Thymeleaf 引擎无法解析页面。
还要提一下,这个页面是由 MS Word 生成的,然后根据我的需要进行了调整。可以从头开始重写它,但我想找出什么不起作用以及为什么它一直给我这个消息。
我的问题似乎与此论坛条目http://forum.broadleafcommerce.org/viewtopic.php?f=14&t=1478 相同(这家伙没有得到答案)。
提前致谢。
【问题讨论】:
标签: spring template-engine thymeleaf