thymeleaf错误解决办法

时间:2018-05-09 22:27:25   收藏:0   阅读:6479

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

原文:https://www.cnblogs.com/Whynot1/p/9016719.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!