728x90
728x90
[SpringBoot/Thymeleaf] Exception evaluating SpringEL expression EL1007E: Property or field 'id' cannot be found on null
트러블슈팅2023. 5. 20. 06:42[SpringBoot/Thymeleaf] Exception evaluating SpringEL expression EL1007E: Property or field 'id' cannot be found on null

에러 메세지 Exception evaluating SpringEL expression EL1007E: Property or field 'id' cannot be found on null 에러 원인 DTO객체를 리턴받아 th:value="${dto.id}"로 주었는데, null을 받아와서 에러 발생 해결 th:value="${dto?.id}

트러블슈팅2023. 1. 6. 22:00Property or field 'token' cannot be found on null - 타임리프 에러 / 스프링부트 게시판 만들기 중 오류

에러문구 org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates//question/question_form.html]") (...생략...) Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "csrf.token" (template: "/question/question_form" - line 5, col 60) (...생략...) Caused by: org.springframework.expression.spel.SpelEv..

728x90
728x90
image