[Spring error] Cannot call sendError() after the response has been committed
·
🔻Back-End/Spring
JPA의 일대다, 다대일 양방향 관계를 사용하던 중에 요류가 발생했다 ❗초기 상태public class Team implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String name; @OneToMany(mappedBy = "team", fetch = FetchType.EAGER) private List members = new ArrayList();}public class Member implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDEN..