Skip to Content
0

java.lang.NoClassDefFoundError: org/apache/poi/POIXMLDocument

Feb 17, 2017 at 06:09 AM

188

avatar image

Hi Experts,

I am trying to deploy Class file along with jars of Apache POI based java logic for Excel to XML conversion.

Once deployed in PI, getting the following error :

java.lang.NoClassDefFoundError: org/apache/poi/POIXMLDocument : cannot initialize class because prior initialization attempt failed at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:62)

It seems Jars files are not link to java development.

Kindly advise me if anyone done.

deva

10 |10000 characters needed characters left characters exceeded

Hi Deva!

Do you use it in java mapping?

Regards, Evgeniy.

0

Yes Evgeniy

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Evgeniy Kolmakov Feb 28, 2017 at 08:54 AM
0

Hi Deva!

The straight way is to import Apache POI library jar file as separate imported archive to your SCV. After that it will be accessible for your custom java classes located in the same SCV.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded