Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 28, 2017 at 08:54 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded