Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 51503 invoked from network); 9 Jan 2007 10:29:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2007 10:29:17 -0000 Received: (qmail 82226 invoked by uid 500); 9 Jan 2007 10:29:17 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 82174 invoked by uid 500); 9 Jan 2007 10:29:17 -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 82159 invoked by uid 99); 9 Jan 2007 10:29:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 02:29:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [213.236.139.167] (HELO mailhub.linpro.no) (213.236.139.167) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 02:29:06 -0800 Received: from localhost (mailhub.linpro.no [213.236.139.167]) by mailhub.linpro.no (Postfix) with ESMTP id 89F4620016A for ; Tue, 9 Jan 2007 11:28:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailhub.linpro.no Received: from mailhub.linpro.no ([213.236.139.167]) by localhost (mailhub.linpro.no [213.236.139.167]) (amavisd-new, port 10024) with ESMTP id 1URz-bY1AYwU for ; Tue, 9 Jan 2007 11:28:43 +0100 (CET) Received: from ox.linpro.no (ox.linpro.no [87.238.45.114]) by mailhub.linpro.no (Postfix) with ESMTP for ; Tue, 9 Jan 2007 11:28:43 +0100 (CET) Received: from [127.0.0.1] (false.linpro.no [80.232.36.131]) by ox.linpro.no (Postfix) with ESMTP id 704D733D57 for ; Tue, 9 Jan 2007 11:28:40 +0100 (CET) Message-ID: <45A36E58.1010909@linpro.no> Date: Tue, 09 Jan 2007 11:28:40 +0100 From: Shervin Asgari User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Strange error with FileUpload Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello. I am developing locally using tomcat and everything works great. Then when everything was finished I moved my code to Resin to a remote server. I am still using the same libraries as I did before, however, I suddenly get this Servlet Exception: 500 Servlet Exception || /detnye.no/moteguiden/admin/action/uploadFil.jsp:21: cannot resolve symbol symbol : method isMultipartContent (javax.servlet.http.HttpServletRequest) location: class org.apache.commons.fileupload.servlet.ServletFileUpload boolean isMultipart = ServletFileUpload.isMultipartContent(request); ^ Note: _moteguiden/_admin/_action/_uploadFil__jsp.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. 1 error Seems like it says I am using or overriding a deprecated API, and when I checked the libraries again, I saw that it was already a commons-fileupload.jar there from before. So I thought, aahh, it must be using that one or something, so I renamed it and moved it away from the libraries, but I am still getting the same problem. Remember, this works locally on tomcat, so I don't know why this doesnt work. Maybe this server is importing some other libraries first, which is including another version of commons.fileupload. -- Shervin Asgari - System Consultant --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org