代码如下:
<div class="container" th:each="article,articleState : ${list}">
<div class="col-lg-12">
<div class="card">
<div class="card-body d-flex flex-column">
<h4><a th:href="${article.articlePermalink}" th:text="${article.articleTitle}"></a></h4>
<div class="text-muted" th:text="${article.articleSummary}"></div>
<div class="d-flex align-items-center pt-5 mt-auto">
<div class="avatar avatar-md mr-3" th:style="'background-image: url('+${article.author.userAvatarUrl}+')'"></div>
<div>
<a th:href="${article.author.userUrl}" class="text-default" th:text="${article.author.userName}" ></a>
<small class="d-block text-muted" th:text="${com.voally.vertical.util.Utils.idBuilder()}"></small>
</div>
<div class="ml-auto text-muted">
<a href="javascript:void(0)" class="icon d-none d-md-inline-block ml-3"><i class="fe fe-heart mr-1"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
错误信息:
org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "com.voally.vertical.util.Utils.idBuilder()" (template: "index" - line 161, col 83)
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于