ThymeleafでリストがNullであるかどうかのチェック方法
How to check if list is empty using thymeleaf?
<div th:if="${not #lists.isEmpty(xxxxxx)}">
--content--
</div>
org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 0): Property or field 'xxxxxx' cannot be found on nullってメッセージが出たときに、リストの場合、上記のように修正すれば、直ります。けっこうはまりました。