no

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

Encountered this problem? java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException Already tried the jsch.jar in classpath of your s...

Encountered this problem?
java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException

Already tried the jsch.jar in classpath of your system variables? Or in eclipse build path but still failed?

Often when you build your project in ant, ant system will not lookup at classpath or buildpath it has its own settings. So there are 2 things you can do:

1.) Add the jsch.jar in ant lib folder usually:
ANT_INSTALL_FOLDER\lib

2.) In eclipse, open preference, type ant in the filter. On the right panel on the classpath tab, Global Entries add the jsch.jar. See screen.

Related

java 5548193009472230677

Post a Comment

item