javahikaricp

HikariCP - no suitable driver error with oracle database


I tried switching to Hikari-CP for java 1.6/1.7 but i m getting the below error:

Caused by: java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getDriver(DriverManager.java:278) ~[na:1.7.0_45]
    at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:52) ~[HikariCP-java6-2.3.5.jar:na]
    ... 82 common frames omitted

I m using Oracle DB.


Solution

  • I sounds like the driver jar is not visible in the classpath, or the driver is not a self-registering driver. What database are you using? Please add more detail to your question.