如何修复java.lang.AbstractMethodError:org.apache.xerces.dom.DeferredElementNSImpl.getTextContent()Ljava / lang / String;

时间:2018-06-27 19:33:09

标签: java jar

这是我运行应用程序时得到的堆栈跟踪:

  

线程“ Thread-3”中的异常java.lang.AbstractMethodError:   org.apache.xerces.dom.DeferredElementNSImpl.getTextContent()Ljava / lang / String;     在   org.apache.poi.openxml4j.opc.internal.unmarshallers.PackagePropertiesUnmarshaller.readElement(PackagePropertiesUnmarshaller.java:146)     在   org.apache.poi.openxml4j.opc.internal.unmarshallers.PackagePropertiesUnmarshaller.loadCreated(PackagePropertiesUnmarshaller.java:162)     在   org.apache.poi.openxml4j.opc.internal.unmarshallers.PackagePropertiesUnmarshaller.unmarshall(PackagePropertiesUnmarshaller.java:124)     在   org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:713)     在org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:275)     在   org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:209)     在   org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:168)     在   Snomed.Snomed.ImportManualMappingUtility.importmanualmappingdata(ImportManualMappingUtility.java:191)     在   Snomed.Snomed.ImportManualMappingUtility.importSnomedRun(ImportManualMappingUtility.java:128)     在   Snomed.Snomed.ImportManualMappingUtility.run(ImportManualMappingUtility.java:100)

当我调试包含ImportManualMappingUtility类的Java时,在以下行出现错误:

Workbook workbook = WorkbookFactory.create(new FileInputStream(loadFileConcept));

如何解决此问题?我相信这是与xerces jar文件有关的问题;是吗?

0 个答案:

没有答案