SQL Developer 23.1.1 Fails To Establish SSH Connection With Error java.lang.NoClassDefFoundError: org/apache/sshd/com
(Doc ID 2994980.1)
Last updated on DECEMBER 25, 2023
Applies to:
Oracle SQL Developer - Version 23.1.1 and laterInformation in this document applies to any platform.
Symptoms
With SQL Developer version 23.1.1 when attempting to use SSH connection the following error occurs.
ERROR
------------
java.lang.NoClassDefFoundError: org/apache/sshd/common/future/CancelOption
at oracle.dbtools.raptor.ssh.core.Client.createSession(Client.java:195)
at oracle.dbtools.raptor.ssh.core.Client.testConnection(Client.java:365)
at oracle.dbtools.raptor.ssh.navigator.SshController$2.doWork(SshController.java:201)
at oracle.dbtools.raptor.ssh.navigator.SshController$2.doWork(SshController.java:197)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:199)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:702)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.sshd.common.future.CancelOption cannot be found by oracle.dbtools.net_23.1.1
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at org.netbeans.modules.netbinox.NetbinoxLoader.loadClass(NetbinoxLoader.java:81)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
at oracle.dbtools.raptor.ssh.core.Client.createSession(Client.java:195)
at oracle.dbtools.raptor.ssh.core.Client.testConnection(Client.java:365)
at oracle.dbtools.raptor.ssh.navigator.SshController$2.doWork(SshController.java:201)
at oracle.dbtools.raptor.ssh.navigator.SshController$2.doWork(SshController.java:197)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:199)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:702)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.sshd.common.future.CancelOption cannot be found by oracle.dbtools.net_23.1.1
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at org.netbeans.modules.netbinox.NetbinoxLoader.loadClass(NetbinoxLoader.java:81)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
Note
These connection are migrated from previous SQL Developer version 23.1.0 version where they are still working fine.
Changes
SQL Developer version 23.1.1. is used.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
Disclaimer |
HOSTNAME, PORTS as used in this document are for Demo purpose only. |
References |