![[SpringBoot/Thymeleaf] Exception evaluating SpringEL expression EL1007E: Property or field 'id' cannot be found on null](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcEywLP%2FbtsglOpLjdr%2FZkFPlC3k4xGmBSSWmziV71%2Fimg.png)
트러블슈팅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}