Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 84302 invoked from network); 5 May 2004 19:02:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 May 2004 19:02:43 -0000 Received: (qmail 76673 invoked by uid 500); 5 May 2004 19:02:30 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 76516 invoked by uid 500); 5 May 2004 19:02:29 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 76495 invoked from network); 5 May 2004 19:02:28 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 5 May 2004 19:02:28 -0000 Received: (qmail 16516 invoked by uid 50); 5 May 2004 19:03:26 -0000 Date: 5 May 2004 19:03:26 -0000 Message-ID: <20040505190326.16515.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 28791] New: - java.lang.IllegalAccessError is thrown when trying MS FTP. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28791 java.lang.IllegalAccessError is thrown when trying MS FTP. Summary: java.lang.IllegalAccessError is thrown when trying MS FTP. Product: Commons Version: 1.2 Final Platform: All URL: http://http:// OS/Version: All Status: NEW Severity: Major Priority: Other Component: Net AssignedTo: commons-dev@jakarta.apache.org ReportedBy: raghu.changlaveedu@bt.com java.lang.IllegalAccessError: try to access method java.util.Calendar.getTimeInMillis()J from class org.apache.commons.net.ftp.parser.NTFTPEntryParser I am using JDK 1.3.1_09. This error is thrown because java.util.Calendar.getTimeMillis() method has protected access till JDK 1.3.x. This has been changed to public from JDK 1.4.x. I got this error when I tried to use the ftp task, to ftp to a MS/NT machine. I had commons-net-1.2.0.jar in my ant/lib directory. Got this problem solved when I installed JDK 1.4.2v, and had the ftp task running perfectly fine. Thanks & Regards Raghu. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org