My Oracle Support Banner

No Suitable Driver Found For jdbc:oracle:thin:@//<HOST>:<PORT>/<TNS ENTRY>?TNS_ADMIN=<DIR> On Oracle Autonomous DB And Wallet Downloaded (Doc ID 2849659.1)

Last updated on MAY 02, 2024

Applies to:

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

Symptoms

Setting up an application to connect to an Oracle Autonomous DB using the Wallet Downloaded from it, the next error is reported:


internal Exception: java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@//<HOSTNAME>:<PORT>/<TNS ENTRY>?TNS_ADMIN=/<WALLET DIRECTORY>
Error Code: 0
  at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)
  ... 55 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@//<HOSTNAME>:<PORT>/<TNS ENTRY>?TNS_ADMIN=/<WALLET DIRECTORY>
  at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:702)
  at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
  at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
  ... 55 more

Changes

 

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


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