thymeleaf错误解决办法

时间:2018-05-09 22:42:10   收藏:0   阅读:10473

Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "username" (template: "userEdit" - line 18, col 87)

Spring boot模版引擎出现如上错误;

<input type="password" class="form-control" name="password" id="password" th:value="*{password}"
placeholder="password"/>
改成下面#
th:value="#{password}"

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!