SpringBoot-jpa exception:
No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer。。
screenshot
solution:
Annotate the pojo object
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})