JPA出现recursion 死循环导致栈内存溢出问题 Could not write JSON: Infinite recursion (StackOverflowError)
2021-06-04 16:01
阅读:770
标签:erro jpa write werror class err overflow over body 被注解的字段忽略被序列化, 字段不再赋值. 只是遇到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
@JsonIgnore
@JsonBackReference
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:JPA出现recursion 死循环导致栈内存溢出问题 Could not write JSON: Infinite recursion (StackOverflowError)
文章链接:http://soscw.com/index.php/essay/90459.html
文章标题:JPA出现recursion 死循环导致栈内存溢出问题 Could not write JSON: Infinite recursion (StackOverflowError)
文章链接:http://soscw.com/index.php/essay/90459.html
评论
亲,登录后才可以留言!