这种情况是在JSONObject.toJSONString(obj)时出现的,原因是在obj里出现了循环引用。可使用这种方式解决JSONObject.toJSONString(this,SerializerFeature.DisableCircularReferenceDetect)