Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 59443 invoked from network); 31 Mar 2006 20:54:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2006 20:54:01 -0000 Received: (qmail 98626 invoked by uid 500); 31 Mar 2006 20:53:57 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 98231 invoked by uid 500); 31 Mar 2006 20:53:56 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 98219 invoked by uid 99); 31 Mar 2006 20:53:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 12:53:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sven@schliesing.de designates 217.20.118.75 as permitted sender) Received: from [217.20.118.75] (HELO server187.xl-server.org) (217.20.118.75) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 12:53:55 -0800 Received: from localhost (localhost [127.0.0.1]) by server187.xl-server.org (Postfix) with ESMTP id C57354C3B7 for ; Fri, 31 Mar 2006 22:53:33 +0200 (CEST) Received: from server187.xl-server.org ([127.0.0.1]) by localhost (server187.xl-server.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17650-05 for ; Fri, 31 Mar 2006 22:53:33 +0200 (CEST) Received: from [127.0.0.1] (c194254.adsl.hansenet.de [213.39.194.254]) by server187.xl-server.org (Postfix) with ESMTP id 462B14C210 for ; Fri, 31 Mar 2006 22:53:33 +0200 (CEST) Message-ID: <442D96B8.90404@schliesing.de> Date: Fri, 31 Mar 2006 22:53:12 +0200 From: Sven Schliesing User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [fileupload] Exception while using Jakarta Commons File upload References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at raffts.net X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, you also have to include "IO" from Jakarte Commons to your classpath. The missing class "org/apache/commons/io/output/DeferredFileOutputStream" is in this package. You find the package here: http://jakarta.apache.org/commons/io/ Greets, Sven PS: Please prefix your subject with [fileupload] Natu, Ashlesha [IT] wrote: > Hi all, > > I am new to Jakarta Commons File Upload. I downloaded the following jar file from the website: > commons-fileupload-1.1.jar > > I am trying to save an uploaded file to the server. Part of my code is: > if (FileUpload.isMultipartContent(request)) > { > DiskFileUpload diskFileUpload = new DiskFileUpload(); > List fileItemsList = diskFileUpload.parseRequest(request); > > > } > > When I run it, I get an exception : > Unexpected error condition thrown (java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream > > I added the following in the code: > import org.apache.commons.io.output.DeferredFileOutputStream; > > But then I get a compilation error: > package org.apache.commons.io.output does not exist > > > Is there any other jar that I have to include in the classpath? Please help... > > > thanks, AN > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org