항해99/실전 프로젝트

.IllegalStateException: Cannot call sendError() after the response has been committed

숲별 2022. 11. 18. 12:58
728x90

Spring JPA 일 대 다 매핑 중 에러,,

@JsonIgnore나 @JsonIdentityInfo 없이 해당 객체를 response해서 발생하는 에러

Entity 새로 만들고 거기에 @JsonIgnore빠뜨려서 생긴 에러였다.

(그나저나 n+1을 이제 해결해야할 때가 오는 건가...)

 

https://thalals.tistory.com/227

 

Cannot call sendError() after the response has been committed

Spring JPA 일 대 다 매핑 중 에러,, java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:472) ~[tomcat-embed-core-9.0.55.jar:9.0.

thalals.tistory.com

 

오류 메세지에 stackoverflow도 밑에 같이 떠 있었던듯..?

https://keepdev.tistory.com/21

 

 

Stack Overflow란?

* Stack Overflow 개발을 하다가 모르는 점이 생기면, Q & A 형식으로 개발자들 사이에서 활발하게 열려진 토론장의 이름이 Stack Overflow이다. 그러면 이 Stack Overflow의 진짜 의미는 무엇일까? * Stack Overflo

keepdev.tistory.com

 

'항해99 > 실전 프로젝트' 카테고리의 다른 글

실전 트러블슈팅 특강-남병관 CTO님  (0) 2022.11.24
9주차 WIL  (1) 2022.11.20
TimeConverter  (0) 2022.11.17
TimeZone 한국시간으로 바꾸기  (0) 2022.11.17
Swagger version 3.0.0 설정  (0) 2022.11.15