I had tried using commons-io-1.0 and commons-fileupload-1.1-dev.jar but
still same error.
Thanks,
Kenil
Donald Woods
<[EMAIL PROTECTED]
m> To
[email protected]
05/19/2006 11:38 cc
AM
Subject
Re: NoClassDefFoundError when using
Please respond to FileUpload
[EMAIL PROTECTED]
che.org
commons-fileupload-1.1 or later requires commons-io-1.1 or 1.2.
For Geronimo 1.0, you should be using commons-io-1.0 and
commons-fileupload-1.1-dev.jar
The reference to commons-fileupload-1.1-G1M5.jar is only valid for WASCE
users, as that is the level we included in 1.0.0.1 and 1.0.1.2.
-Donald
[EMAIL PROTECTED] wrote:
> Hello,
>
> I am using Geronimo Version 1.0.
>
> I had tried commons-fileupload-1.1.jar but same error.
>
> and tried the latest commons-fileupload-1.2-SNAPSHOT.jar also same error.
>
> I can not find commons-fileupload-1.1-G1M5.jar (M5)
>
> Thanks,
> Kenil Baxi
>
>
>
>
>
> "Santosh Koti"
> <[EMAIL PROTECTED]
> osys.com>
To
> <[email protected]>
> 05/19/2006 10:44
cc
> AM
>
Subject
> RE: NoClassDefFoundError when
using
> Please respond to FileUpload
> [EMAIL PROTECTED]
> che.org
>
>
>
>
>
>
>
>
>
> Try any1 of these:
>
> commons-fileupload-1.1.jar
>
> or
>
> commons-fileupload-1.1-G1M5.jar (M5)
>
> Pls post the version of ur Geronimo.
>
> Thanks,
> Santosh.
> "Don't talk about yourself; it will be done when you leave. "
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> Sent: Friday, May 19, 2006 8:09 PM
> To: [email protected]
> Subject: NoClassDefFoundError when using FileUpload
>
>
> 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.jav
> a:231)
> at
> org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.jav
> a:1318)
> at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1194)
> at
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
> or.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(Applica
> tionFilterChain.java:252)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
> at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
> oke(GeronimoStandardContext.java:272)
> at
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Transact
> ionContextValve.java:53)
> at
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentC
> ontextValve.java:47)
> at
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceCon
> textValve.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:1
> 48)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
> 6)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:744)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
> at java.lang.Thread.run(Thread.java:534)
>
> Thanks,
> Kenil
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this
e-mail
> or its contents to any other person and any such actions are unlawful.
This
> e-mail may contain viruses. Infosys has taken every reasonable precaution
> to minimize this risk, but is not liable for any damage you may sustain
as
> a result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the
right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be
stored
> on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
>
>