Я пытаюсь установить свой идентификатор объекта в качестве идентификатора div, но когда я пытаюсь запустить свое приложение, я получаю сообщение об ошибке
org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing
Другая ошибка из трассировки стека:
org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'id' cannot be found on object of type 'io.getstream.core.models.EnrichedActivity' - maybe not public or not valid?
Вот мой HTML-код:
<div typeIdFieldName="id" th:id="${#strings.trim(object['id'])}" class="c-default-item" th:each="object : ${objects}"></div>