日期:2014-05-16 浏览次数:20464 次
No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: ***************_$$_javassist_15["hibernateLazyInitializer"])
Class Order{
@ManyToOne( fetch = FetchType.LAZY)
@JoinColumn(name = "Item_ID")
Item item;
}
Class Order{
@ManyToOne( fetch = FetchType.LAZY)
@JoinColumn(name = "Item_ID")
@JsonIgnore
Item item;
}