myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [Myfaces][Trinidad] error while uploading a zip file
Date Fri, 09 Nov 2007 15:08:41 GMT
try to just add commons-io

On Nov 9, 2007 3:57 PM, Matthias Wessendorf <matzew@apache.org> wrote:
> this isn't specific to myfaces/trinidad. this is caused by tomahawk
>
>
> On Nov 9, 2007 3:53 PM, Renzo Tomaselli <renzo.tomaselli@tecnotp.it> wrote:
> > Hi, I'm using component tr:inputFile from Trinidad.
> > I successfully uploaded several kind of files to my application without
> > problems.
> > When I try to upload a zip file, I get a server error, according to the
> > following trace:
> >
> > java.lang.NoClassDefFoundError:
> > org/apache/commons/io/output/DeferredFileOutputStream
> >     at
> > org.apache.commons.fileupload.DefaultFileItemFactory.createItem(DefaultFileItemFactory.java:102)
> >     at
> > org.apache.commons.fileupload.FileUploadBase.createItem(FileUploadBase.java:500)
> >     at
> > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)
> >     at
> > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
> >     at
> > org.apache.myfaces.webapp.filter.MultipartRequestWrapper.parseRequest(MultipartRequestWrapper.java:85)
> > ...
> > Eclipse report the top error as occurring in
> > org.apache.commons.fileupload.DefaultFileItemFactory from
> > commons-fileupload-1.1.1.jar.
> > What else should I include in my project to account specifically for zip
> > uploading and the missing class DeferredFileOutputStream ?
> >
> > Thanks -- Renzo
> >
> >
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Mime
View raw message