java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.POIXMLDocument on Jboss 5.0 EAP

Posted by nidhin on Stack Overflow See other posts from Stack Overflow or by nidhin
Published on 2012-11-08T07:38:53Z Indexed on 2012/11/08 11:01 UTC
Read the original article Hit count: 6247

Filed under:
|
|
|

Getting following exception in Jboss 5.0 EAP but it work fine in JBoss 5.1 GA.

we are using POI 3.7 and jars included are

  • poi-3.7.jar
  • poi-ooxml-schemas.jar
  • poi-ooxml.jar

The stack trace is

ERROR [org.apache.catalina.core.ContainerBase.[jboss.ueb].[localhost].[fesbcon-Fig].[Faces Servlet]]
    3;13;44.4g3pM (http-0.0.0.0-8280-1) Servlet.service() -For servlet Faces Servlet threu exception
    java.lang.NoClassDe-FFoundError: Could not initialize class org.apache.poi.POIXMLDocument
    at org.apache.poi.ss.usermodel.HorkbookFactory.create(HorkbookFactory.java:62)
    at com.-Ferguson.esb.con-Fig.controller.AssociationsExcelUploadController.submit(Unknoun Source)
    at sun.re-Flect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.re-Flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.re-Flect.DelegatingMethodAccessorImpl.invoke(Delegating?ethodAccessorImpl.java:25)
    at java.lang.re-Flect.Method.invoke(Method.java:597)
    at org.apache.my-Faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
    at org.apache.my-Faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)

Please Advise how to solve this issue in JBoss 5.0 EAP

© Stack Overflow or respective owner

Related posts about java

Related posts about apache-poi