摘要: XStream xStream = new XStream(new StaxDriver());xStream.addPermission(AnyTypePermission.ANY); //不加后面转实体变异常xStream.processAnnotations(resultDTO.getClas 阅读全文