15 到 poi 4.0.0。这是我对类路径的 poi 依赖项。
poi-4.0.0 poi-scratchpad-4.0.0 poi-ooxml-4.0.0 poi-ooxml-schemas-4.0.0 xmlbeans-3.0.1
当我尝试关闭工作簿时出现异常
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.ooxml.util.DocumentHelper
at org.apache.poi.openxml4j.opc.internal.ContentTypeManager.save(ContentTypeManager.java:428)
at org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:518)
at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1493)
at org.apache.poi.openxml4j.opc.OPCPackage.close(OPCPackage.java:453)
at org.apache.poi.ooxml.POIXMLDocument.close(POIXMLDocument.java:204)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.close(XSSFWorkbook.java:590)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.close(SXSSFWorkbook.java:912)
at com.seqnc.fe.excel.ExcelConversionServiceImpl.generateStream(ExcelConversionServiceImpl.java:235)
at com.seqnc.fe.excel.ExcelConversionServiceImpl.generateStream(ExcelConversionServiceImpl.java:124)
at com.seqnc.ui.executors.graph.EvaluateGraphExecutor.executeCompanyDivisionOperation(EvaluateGraphExecutor.java:188)
at com.seqnc.ui.executors.DefaultExecutor.execute(DefaultExecutor.java:299)
at com.seqnc.ui.controller.SeqncController.executeRequest(SeqncController.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
知道发生了什么吗?
SMILET
相关分类