My Oracle Support Banner

Oracle SQL Developer Cannot Connect To CVS With SSH2 Connection (Doc ID 1237935.1)

Last updated on FEBRUARY 28, 2021

Applies to:

Oracle SQL Developer - Version to 3.2
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


Using 2.1.1 version and Making and Saving Connections

When attempting to connect to CVS using SSH2 connection the following error occurs, when starting SQL Developer from the <CMD> window.

<Path for SQL Developer>\sqldeveloper\bin>sqldeveloper
** Set 15830327
Exception in thread "Thread-118" oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class: com.jcraft.jsch.UserInfo

Dependent class: oracle.ocvs.OCVSUserInfo
Loader: ide-global:
Code-Source: /C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracle.jdeveloper.cvs.jar
Configuration: extension jar in C:\Program Files\sqldeveloper\sqldeveloper\extensions

The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.defineClass(
at oracle.classloader.PolicyClassLoader.findLocalClass(
at oracle.classloader.SearchPolicy$FindLocal.getClass(
at oracle.classloader.SearchSequence.getClass(
at oracle.classloader.PolicyClassLoader.internalLoadClass(
at oracle.classloader.PolicyClassLoader.access$000(
at oracle.classloader.PolicyClassLoader$
at Method)
at oracle.classloader.PolicyClassLoader.loadClass(
at oracle.classloader.PolicyClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
at oracle.ocvs.OCVSCommand.createSsh2Connection(
at oracle.ocvs.OCVSCommand.createRootConnection(
at oracle.ocvs.OCVSCommand.executeCommand(
at oracle.ocvs.OCVSMain.doCommand(
at oracle.ocvs.OCVSMain.exec(
at oracle.jdevimpl.vcs.cvs.runner.CVSInternalClientRunner.exec_(
at oracle.jdevimpl.vcs.cvs.wiz.connect.CVSConnectTester$

The issue can be reproduced at will with the following steps:
1. Start SQL Developer from the cmd window and select the CVS connection


Adding a CVS with an external repository.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.