thymeleaf错误解决办法

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}"

posted on 2018-05-09 21:19  whynotybb  阅读(1127)  评论(0编辑  收藏  举报