![poi ooxml schemas 3.9 maven dependency poi ooxml schemas 3.9 maven dependency](https://miro.medium.com/max/1400/1*1YP6UDQm8YqeKVnJJP7PFg.png)
![poi ooxml schemas 3.9 maven dependency poi ooxml schemas 3.9 maven dependency](https://media.geeksforgeeks.org/wp-content/uploads/Screen-Shot-2018-09-19-at-11.46.38-AM.png)
Apart from vendor, name and version also the contained classes and JAR dependencies are listed. Import even rest of the jars into your project, especially . This page shows details for the JAR file poi-3.17.jar contained in org/apache/poi/poi/3.17.
Your pom has dependencies on Apache POI jars from 3.11, 3.12 and 3.The OOXML jars require a stax implementation, but now that Apache POI requires Java 8, that dependency is provided by the JRE and no additional stax jars are required. This JAR is ooxml-security-1.1.jar for POI 3.14 onwards and ooxml-security-1.0.jar prior to that. A combination such as poi-3.11.jar and poi-ooxml-3.9.jar is not supported, and will fail to work in unpredictable ways. A subset of its contents are in poi-ooxml-schemas. But that didn’t help much.Ĭan I mix POI jars from different versions?Īll POI jars in use must come from the same version. People have suggested to open PackageRelationshipCollection and retry. Exception in thread "main" : tried to access method .POILogger.log(ILjava/lang/Object )V from class 4j.opc.PackageRelationshipCollectionĪt 4j.(PackageRelationshipCollection.java:313)Īt 4j.opc.PackageRelationshipCollection.(PackageRelationshipCollection.java:163)Īt 4j.opc.PackageRelationshipCollection.(PackageRelationshipCollection.java:131)Īt 4j.(PackagePart.java:561)Īt 4j.opc.PackagePart.(PackagePart.java:109)Īt 4j.opc.PackagePart.(PackagePart.java:80)Īt 4j.opc.PackagePart.(PackagePart.java:125)Īt 4j.opc.ZipPackagePart.(ZipPackagePart.java:78)Īt 4j.(ZipPackage.java:243)Īt 4j.(OPCPackage.java:684)Īt 4j.(OPCPackage.java:275)Īt .PackageHelper.open(PackageHelper.java:37)Īt .usermodel.XSSFWorkbook.(XSSFWorkbook.java:266)