Bug 66356 - Unable to process Jar entry
Summary: Unable to process Jar entry
Status: RESOLVED INFORMATIONPROVIDED
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: unspecified
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-18 11:58 UTC by Pranay
Modified: 2022-11-23 10:33 UTC (History)
0 users



Attachments
logs (25.36 KB, text/plain)
2022-11-18 11:58 UTC, Pranay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pranay 2022-11-18 11:58:40 UTC
Created attachment 38437 [details]
logs

Hi, We are updating POI lib, following versions we are using:

[group: 'org.apache.poi',name: 'poi', version: '5.2.3'],
[group: 'org.apache.poi',name: 'poi-ooxml', version: '3.9'],
[group: 'org.apache.poi',name: 'poi-ooxml-schemas', version: '3.9'],


We are getting the following error:
Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar [jar:jndi:/localhost/WEB-INF/lib/poi-5.2.3.jar!/] for annotations
Unable to process Jar entry [org/apache/logging/log4j/spi/ExtendedLoggerWrapper.class] from Jar [jar:jndi:/localhost/WEB-INF/lib/log4j-api-2.18.0.jar!/] for annotations

Please suggest.
Comment 1 PJ Fanning 2022-11-18 12:24:45 UTC
You are supposed to match up the version number. Use all 5.2.3 jars or all 3.9 jars but don't mix them.

poi-ooxml-schemas is called poi-ooxml-lite in v5.2.3 (ie the jar name was changed).
Comment 2 PJ Fanning 2022-11-18 12:25:35 UTC
You also need log4j-api 2.18.0 if you use poi 5.2.3.
Comment 3 PJ Fanning 2022-11-23 10:33:07 UTC
Closing because this is best raised with whoever provides your deployment platform.

'Unable to process Jar entry' is not an error that comes from POI itself.