[Java] 纯文本查看 复制代码 List<Node> nodes1 = arcCfgXml.getRootElement().selectNodes("/description/ArchiveFiles/FileCatalog/FileCatalogName/material_name/ArchiveFileInformation/*");
List<Node> nodes2 = arcCfgXml.getRootElement().selectNodes("/description/FilingRanges/FileCatalog/FileCatalogName/material_name/*");
List<Node> nodes3 = arcCfgXml.getRootElement().selectNodes("/description/ArchiveFiles/FileCatalog/FileCatalogName/material_name/ArchiveFileInformation/*");
nodes1.addAll(nodes2);
nodes1.addAll(nodes3);
报错信息
[HTML] 纯文本查看 复制代码 java.lang.UnsupportedOperationException
java.util.AbstractList.add(AbstractList.java:148)
java.util.AbstractList.add(AbstractList.java:108)
java.util.AbstractCollection.addAll(AbstractCollection.java:344)
com.waysoft.modules.business.arc.a30_siXingJianCe.service.SiXingJianCeService.check203(SiXingJianCeService.java:1467)
com.waysoft.modules.business.arc.a30_siXingJianCe.service.SiXingJianCeService.siXingJianCeMain(SiXingJianCeService.java:181)
com.waysoft.modules.business.arc.a30_siXingJianCe.service.SiXingJianCeService$$FastClassBySpringCGLIB$$31456e50.invoke(<generated>) |