.png)
.png)
There was an unexpected error (type=Internal Server Error, status=500).
An error happened during template parsing (template: "class path resource [templates/members/memberList.html]")
org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/members/memberList.html]")
Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "members[0].id" (template: "members/memberList" - line 15, col 19)
안녕하세요! 강사님 강의 정말 잘 듣고 있습니다. ㅎㅎ 늘 감사합니다. 한가지 질문이 있습니다
위와 같은 오류가 템플릿에서 발생합니다!
현재 상황은
1. 템플릿 html에서 member.name은 잘 출력됩니다. 유저 가입 후 바로 리스트를 만들어 출력도 해봤는데 아이디 네임 모두 잘 출력이 됩니다.
2. 당연히 member.name 만 html 에서 출력하거나
초기 유저가 없는 html은 잘 렌더링 됩니다.
모두 print로 직접 콘솔에서 확인했습니다!
()
제가 보기에는 id 도 저장은 잘되는데 템플릿으로 옮겨갈때 값이 없습니다. 어떻게 해결하면 좋을까요..?
답변 정말 감사드립니다!!!!과정은 다 맞다구 생각했는데 역시 아니였네요 ㅎㅎ... 혹시 getID를 이용하면 작동이 안되는 이유를 알 수 있을까요??