sshtools / maverick-synergy

Next Generation Java SSH API
https://jadaptive.com
GNU Lesser General Public License v3.0
96 stars 26 forks source link

ClassNotFoundException - IOUtils #72

Closed wedgef5 closed 1 year ago

wedgef5 commented 1 year ago

I'm trying to use the 3.0.9 client jar, and I am getting...

Exception in thread "main" java.lang.NoClassDefFoundError: com/sshtools/common/util/IOUtils at com.sshtools.common.publickey.SshKeyUtils.getPrivateKey(SshKeyUtils.java:80) at com.sshtools.client.SshClient.(SshClient.java:80) at com.sshtools.client.SshClient.(SshClient.java:76)

I can't find IOUtils in any of the jars in the 3.0.9 release.

ludup commented 1 year ago

IOUtils is in the maverick-utils module. Without knowing your classpath set up it's impossible to advise on your issue.