Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6.0k views
in Java FTP by (163k points)
A user writes:


hi,
I used edtftpj-2.0.3 version. when I ran the example ConnectToServer.java.

FileTransferClient ftp = new FileTransferClient();


I got errors below:

Exception in thread "main" java.lang.NoSuchFieldError: DEFAULT_LISTING_LOCALES
at com.enterprisedt.net.ftp.internal.ConnectionContext.<init>(ConnectionContext.java:87)
at com.enterprisedt.net.ftp.FileTransferClient.<init>(FileTransferClient.java:96)
at test.main(test.java:27)

could you tell me how to fix the problems?

Thanks.



Most likely an older jar file is in the CLASSPATH.

Please log in or register to answer this question.

Categories

...