【发布时间】:2019-02-08 01:07:53
【问题描述】:
当我使用这样的输入时,我没有问题:
<input type="text" name="title" />
但是如果我把 th:name 放在我得到错误 500 的地方:
<input type="text" th:field="${title}"/>
Começo a tomar erro 500,conforme abaixo
这里是 git 存储库:https://github.com/getJv/springStudy
这是错误:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Feb 07 23:03:56 BRST 2019
There was an unexpected error (type=Internal Server Error, status=500).
An error happened during template parsing (template: "class path resource [templates/books/form.html]")
org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/books/form.html]")
【问题讨论】:
标签: spring spring-boot spring-mvc thymeleaf