Axios 오류

이승철·2021년 9월 26일

axios.get(blah blah~) 호출해서 자바 객체를 json으로 변환할때

ERR_INCOMPLETE_CHUNKED_ENCODING 200,

cannot call sendError() after the response has been

commited()

에러가 발생한다면

자바에서 순환참조 문제 때문일 수 있다...

이럴 때 자바소스에 @JsonBackReference, @JsonManagedReference 어

노테이션을 붙여주면 해결할 수도 있다.

0개의 댓글