Spring
[에러] No serializer found for class -org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no properties discovered to create BeanSerializer
REST API 기반의 프로젝트를 진행하며 제목과 같은 오류를 만나게 되었다. 오류 문제 코드 @Entity @Getter @Setter @NoArgsConstructor @SuperBuilder @ToString(callSuper = true) public class MyBook extends BaseEntity { @ManyToOne(fetch = LAZY) @ToString.Exclude private Member owner; @ManyToOne(fetch = LAZY) @ToString.Exclude private Product product; @ManyToOne(fetch = LAZY) @ToString.Exclude private OrderItem orderItem; } 오류의 원인이 되는 코..