标签:erro jpa write werror class err overflow over body
@JsonIgnore
被注解的字段忽略被序列化, 字段不再赋值.
@JsonBackReference
只是遇到recursive只会序列化一遍, 序列化过的不会再循环序列化了, 字段还是会赋值.
JPA出现recursion 死循环导致栈内存溢出问题 Could not write JSON: Infinite recursion (StackOverflowError)
标签:erro jpa write werror class err overflow over body
原文地址:https://www.cnblogs.com/smileblogs/p/12341114.html