1. 순환 참조(Circular Reference) 에러 발생순환 참조는 객체 A가 객체 B를 참조하고, B가 다시 A를 참조하는 형태를 말한다. 아래의 관계를 그대로 Controller에서 JSON으로 변환하여 응답하면 [Error] java.lang.IllegalStateException: Cannot call sendError() after the response has been committed 에러가 발생한다. 이것을 JPA 순환참조 오류라고 한다.class Parent { @OneToMany(mappedBy="child") List children;}class Child { @ManyToOne Parent parent;}2. 순환 참조 문제Parent p = new Pa..