title: java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.POIXMLDocument on Jboss 5.0 EAP
body: <p>Getting following exception in Jboss 5.0 EAP but it work fine in JBoss 5.1 GA.</p>
  
  <p>we are using POI 3.7 and jars included are</p>
  
  <ul>
  <li>poi-3.7.jar</li>
  <li>poi-ooxml-schemas.jar</li>
  <li>poi-ooxml.jar</li>
  </ul>
  
  <p>The stack trace is</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>Please Advise how to solve this issue in JBoss 5.0 EAP</p>