DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28791>. 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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]