1 Reply Latest reply on Apr 30, 2010 2:01 PM by Chun Shin

    excel export and error

    Chun Shin Newbie

      Hi,


      I followed the guide My Link to implement an excel export.


      However, When I click the export button, I'm getting the following error. What am I missing here?




      13:54:53,171 ERROR [[Document Store Servlet]] Allocate exception for servlet Document Store Servlet
      java.lang.ClassNotFoundException: org.jboss.seam.excel.DocumentStoreServlet
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1083)
              at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
              at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
              at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
              at java.lang.Thread.run(Thread.java:595)



      I can see I have jboss-seam-2.2.0.GA.jar under lib of my jboss 4.2.3 server. Also, I have placed jboss-seam-excel-jar and jxl.jar.


      Thank you,






        • 1. Re: excel export and error
          Chun Shin Newbie

          I had to change the servlet-name like below to fix the issue.




              <servlet>
                  <servlet-name>Document Store Servlet</servlet-name>
                  <servlet-class>
                      org.jboss.seam.document.DocumentStoreServlet
                  </servlet-class>
              </servlet>





          instead of




            <servlet>
                <servlet-name>Document Store Servlet</servlet-name>
                <servlet-class>org.jboss.seam.excel.DocumentStoreServlet</servlet-class>
             </servlet>