出现错误:

org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Infinite recursion (StackOverflowError); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[15]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[2]->com.okay.okayx.admin.api.dto.MenuTree["children"]->java.util.ArrayList[2]->com.okay.okayx.admin.api.dto.MenuTree["label"])

发现是数据转换为json的时候出现无限递归:

A对象序列化,包含B对象,B对象开始序列化又包含A,所以造成了无限递归。只要在其中一个对象属性加上@JsonIgnore注解就可以解决。例:

@JsonIgnore
	protected List<TreeNode> children = new ArrayList<TreeNode>();


 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐