Hi, I am getting this error below. I am trying to jar a file. Not sure what to do. The error points to an error in line number 55 of SendFiles, but I know this line is fine there. It has something to do with jaring the file.
Thanks,
Keith
java -jar SendFiles.jar
Exception in
thread "main" java.lang.NoClassDefFoundError: com/sshtools/j2ssh/transport/HostKeyVerification
at SendFiles.main(SendFiles.java:55)
Caused by: java.lang.ClassNotFoundException: com.sshtools.j2ssh.transport.HostKeyVerification
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 1 more
keith@keith-desktop:~/workspace/Trial2/bin$ java -jar SendFiles.jar
Exception in thread "main" java.lang.NoClassDefFoundError: com/sshtools/j2ssh/transport/HostKeyVerification