Windows / CentOS : Oracle 11g DB returns Possibly Wrong Driver

I tried this on a win10 machine with the ojdbc6.jar in classpath and path , yet the system gives me the below error.

Tried it all command line params , removed " from liquibase file but none of the options work.

Any pointers on where to look at?
Unexpected error running Liquibase: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created to jdbc:oracle:thin:@localhost:1521:DBLOC with driver oracle.jdbc.OracleDriver. Possibly the wrong driver for the given database URL
For more information, please use the --logLevel flag

1 Like

I am getting exactly the same error inside my Docker Container run from the Liquibase Image Version 3.10.x and latest. Tried it with ojdbc8 and ojdbc10!