My Oracle Support Banner

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

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle SQL Developer - Version 1.5.4.59.40 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.

Symptoms


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.

ERROR
-----------------------
<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:11.1.1.0.0
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(PolicyClassLoader.java:2387)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at oracle.ocvs.OCVSCommand.createSsh2Connection(OCVSCommand.java:527)
at oracle.ocvs.OCVSCommand.createRootConnection(OCVSCommand.java:224)
at oracle.ocvs.OCVSCommand.executeCommand(OCVSCommand.java:114)
at oracle.ocvs.OCVSMain.doCommand(OCVSMain.java:789)
at oracle.ocvs.OCVSMain.exec(OCVSMain.java:652)
at oracle.jdevimpl.vcs.cvs.runner.CVSInternalClientRunner.exec_(CVSInternalClientRunner.java:324)
at oracle.jdevimpl.vcs.cvs.wiz.connect.CVSConnectTester$TesterThread.run(CVSConnectTester.java:305)


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

Changes

Adding a CVS with an external repository.

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
References


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