You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alex Shneyderman <al...@law.columbia.edu> on 2003/08/21 16:48:00 UTC

RE: File Upload error

Make sure you do not have another file upload jar in your classpath.

Where are you hosting your app, what OS?

Alex.

> -----Original Message-----
> From: Erez Efrati [mailto:ereze@netmedia.net.il]
> Sent: Thursday, August 21, 2003 11:14 AM
> To: 'Struts Users Mailing List'
> Subject: File Upload error
> 
> Hi,
> 
> I am trying to do file uploading of several files and I keep getting
the
> following error:
> 
> java.lang.NoSuchMethodError:
>
org.apache.commons.fileupload.MultipartStream.setHeaderEncoding(Ljava/la
> ng/String;)V
> 
> I am using JBoss/Tomcat 4.1.24. The upload struts sample works just
fine
> under 4.1.27 - I haven't tried it under 4.1.24.
> 
> Does anyone have a clue?
> 
> Thanks,
> Erez
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: File Upload error

Posted by Erez Efrati <er...@netmedia.net.il>.
Alex, 

I found it!! It was a beta version of the FileUpload in the
JBoss/Tomcat-4.1.24. I just replaced it with the FileUpload 1.0 that
came with Struts and it works now, thank god :)

Erez

-----Original Message-----
From: Alex Shneyderman [mailto:alex@law.columbia.edu] 
Sent: Thursday, August 21, 2003 4:48 PM
To: 'Struts Users Mailing List'
Subject: RE: File Upload error

Make sure you do not have another file upload jar in your classpath.

Where are you hosting your app, what OS?

Alex.

> -----Original Message-----
> From: Erez Efrati [mailto:ereze@netmedia.net.il]
> Sent: Thursday, August 21, 2003 11:14 AM
> To: 'Struts Users Mailing List'
> Subject: File Upload error
> 
> Hi,
> 
> I am trying to do file uploading of several files and I keep getting
the
> following error:
> 
> java.lang.NoSuchMethodError:
>
org.apache.commons.fileupload.MultipartStream.setHeaderEncoding(Ljava/la
> ng/String;)V
> 
> I am using JBoss/Tomcat 4.1.24. The upload struts sample works just
fine
> under 4.1.27 - I haven't tried it under 4.1.24.
> 
> Does anyone have a clue?
> 
> Thanks,
> Erez
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org