springdata jpa发生java.lang.StackOverflowError: null

需求是这样的。使用springdata jpa 一对多的关联关系。User.class实体, 和Dept.class 实体, 一个用户对应一个部门,一个部门可以有多个用户。

然后出现一个如下异常:java.lang.StackOverflowError: null(堆栈溢出错误, 写代码时出现的错误)

出现栈内存溢出的常见原因有2个: 
1. 函数递归调用层次过深,每调用一次,函数的参数、局部变量等信息就压一次栈,并且没有及时出栈。 
2. 局部静态变量体积太大

2019-10-24 10:45:31.806 ERROR 3884 --- [nio-8013-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis.serializer.SerializationException: Could not write JSON: Infinite recursion (StackOverflowError) (through reference chain: com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"]->org.hibernate.collection.internal.PersistentBag[0]->com.gosuncn.springboot.bean.User["deptBean"]->com.gosuncn.springboot.bean.Dept["userList"])] with root cause

java.lang.StackOverflowError: null

出现异常的原因:如果查询一个User实体,并打印,打印调用的是toString() 方法,toString()方法里面又有关联Dept对象。 所以导致User和Dept两个对象互相调用并打印,形成一个递归调用,最后堆栈溢出。

解决方法:

1:重写两个实体的toString() 方法。关联对象不写进toString()方法里面。(使用lombok的@ToString(exclude={"userList"}))

2:在关联对象上,都加上一个@JsonIgnore 注解。

解决后的两个实体类代码:

User.class

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(exclude={"deptBean"})
@Entity
@Table(name = "user")
public class User implements Serializable {


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;
    private String username;
    private String password;
    private long high;

    // optional = false 表示可选属性,此时表示dept不能为空。删除用户,不影响部门。
    @JsonIgnore   //  设置@JsonIgnore,这个注解的意思是表示在序列化的时候,忽略这个属性
    @ManyToOne(cascade = {CascadeType.MERGE,CascadeType.REFRESH}, optional = false)
    @JoinColumn(name = "dept_id")  // 设置在dept表中的关联外键
    private Dept deptBean;
    
}

Dept.class

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(exclude={"userList"})
@Entity
@Table(name = "dept")
public class Dept implements Serializable {


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String name;
    private Integer peoples;

    /**
     * mappedBy = "deptBean" 中的 deptBean 是指 User 实体中的 deptBean 属性。
     */
    //@JsonIgnore     // 设置@JsonIgnore,这个注解的意思是表示在序列化的时候,忽略这个属性
    @OneToMany(mappedBy = "deptBean", cascade = CascadeType.ALL, fetch = FetchType.LAZY)
    private List<User> userList;


}

User.class 的关联对象使用@JsonIgnore 这个注解,而Dept.class 的关联对象不能用@JsonIgnore 这个注解。原因是和toString()这个方法一样。有兴趣的可以研究研究。试试User对象的插入和查询,就知道了。

以上解决方法,亲测有效。。。

希望此文帮助到你!

 

  • 2
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值