Skip to Main Content

Error generating an Excel with apache poi in Weblogic

User_IHOW4Oct 19 2022

I have updated in one project the version of apache.poi from 3.9.0 to 5.0.0.
build.gradle

implementation 'org.apache.poi:poi:5.0.0'
implementation 'org.apache.poi:poi-ooxml:5.0.0'

I use this library to generate Excel files dynamically on the server and locally with tomcat everything worked correctly.
If I upload the project to the production server (Weblogic) I'm facing with the following error:
"Could not initialize class org.apache.poi.xssf.model.SharedStringsTable"
From what I read, it may be some incompatibility of Weblogic with an xmlbean jar
Does someone have any idea of ​​what it can be?

Comments
Post Details
Added on Oct 19 2022
0 comments
32 views