My Oracle Support Banner

JDBC Connections Fail With "java.lang.NoClassDefFoundError: Could not initialize class oracle.jdbc.OracleDriver" (Doc ID 2850978.1)

Last updated on MARCH 12, 2024

Applies to:

JDBC - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Goal

What causes the following error when attempting to use the Oracle JDBC driver at runtime:


 

Solution

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
Goal
Solution


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