![[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%2Fdna%2FcEywLP%2FbtsglOpLjdr%2FAAAAAAAAAAAAAAAAAAAAAOBpYFqp7hq4Tzlo8WlLrYPJnnblfnVqrBBDbV583ibu%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3D5Yy8nPfXMo8vqsu%252FM3R8bycgflI%253D)
Tech/트러블슈팅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}