My Oracle Support Banner

ERROR Cannot Load JDBC Driver Class 'oracle.jdbc.driver.OracleDriver' After Database Upgrade to 19c Release (Doc ID 2859692.1)

Last updated on NOVEMBER 06, 2023

Applies to:

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

Symptoms

An application using 11.2 ojdbc6.jar with the following configuration for the connection to the database:


fails with the error below after having upgraded the database to 19c:

org.hibernate.util.JDBCExceptionReporter ERROR Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
2022-03-24 14:09:59,629 [TLS ] org.hibernate.util.JDBCExceptionReporter WARN SQL Error: 0, SQLState: null
2022-03-24 14:09:59,629 [TLS ] org.hibernate.util.JDBCExceptionReporter ERROR Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
2022-03-24 14:09:59,631 [TLS ] org.hibernate.util.JDBCExceptionReporter WARN SQL Error: 0, SQLState: null
2022-03-24 14:09:59,631 [TLS ] org.hibernate.util.JDBCExceptionReporter ERROR Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
2022-03-24 14:09:59,631 [TLS ] org.hibernate.util.JDBCExceptionReporter WARN SQL Error: 0, SQLState: null
2022-03-24 14:09:59,631 [TLS ] org.hibernate.util.JDBCExceptionReporter ERROR Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'

ERROR
-----------------------
org.hibernate.util.JDBCExceptionReporter ERROR Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'


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
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.