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 FEBRUARY 28, 2023

Applies to:

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


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



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.