Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

NoSuchMethodError

no avatar
User

michaelarban

Posts

2

Joined

Wed Dec 17, 2008 8:20 pm

NoSuchMethodError

by michaelarban » Wed Dec 17, 2008 8:25 pm

hi,
i have used the Version edtftpj-1.5.2.jar; now i want to upgrade to edtftpj-2.0.3.jar, but during testing i get this error-message:

Exception in thread "main" java.lang.NoSuchMethodError: com.enterprisedt.net.ftp.FTPClient.put(Ljava/lang/String;Ljava/lang/String;)V


it seems as if the method-signature has changed :?

what can i do now?


thanks
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: NoSuchMethodError

by support2 » Wed Dec 17, 2008 8:41 pm

Our fault, and in hindsight we shouldn't have changed the method signature. Sorry.

It now returns a string (instead of void) and so to upgrade you need to recompile. No other change required however.
no avatar
User

michaelarban

Posts

2

Joined

Wed Dec 17, 2008 8:20 pm

by michaelarban » Wed Dec 17, 2008 8:55 pm

hi,

thanks for your answer:

you have wirtten, that i have to recompile, you mean my own apllication, dont you?

thanks again
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Dec 17, 2008 9:04 pm

Yup, just recompile your app against the new jar & all should be well.

Who is online

Users browsing this forum: No registered users and 18 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign