geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kb...@symcor.com
Subject NoClassDefFoundError when using FileUpload
Date Fri, 19 May 2006 14:39:17 GMT

Hello,

I am getting following error when using FormFile in the form and struts
action of Common-fileupload-1.0.jar:

java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUploadException
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
      at java.lang.Class.getConstructor0(Class.java:1930)
      at java.lang.Class.newInstance0(Class.java:278)
      at java.lang.Class.newInstance(Class.java:261)
      at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
      at
org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.java:1318)
      at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1194)
      at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
      at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
      at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:272)
      at
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
      at
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
      at
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:534)

Thanks,
Kenil


Mime
View raw message