java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException

There are 2 ways to solve this problem, depending on your setup.

1.) If you're using ant installed on your machine, example on c:\apache-ant. Just place the jsch.jar in it's lib folder.

2.) In case you are using eclipse's ant plugin.
a.) Open eclipse
b.) Click Window->Preference
c.) In type filter textbox type "ant"
d.) Click Runtime
e.) Expand "Global Entries"
f.) Add external jar, and locate jsch.jar in your system
javascript:void(0)
java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException Reviewed by Edward Legaspi on Friday, April 01, 2011 Rating: 5

3 comments:

Kevin said...

Thank you!! Your post help me a lot! (my English is very poor, I'm sorry) But I want to give you my thanks.
Bye.

Anonymous said...

Thanks a lot!!

Anonymous said...

Thanks a million!!

Powered by Blogger.