tlberglund/groovy-liquibase — Issue #23: oracle driver not found even though it is in classpath
Author: pzimmerman-github
Created: 2011-12-06 23:38:13+00:00
State: open

When adding a classpath dependency on the ojdbc6 jar (classpath 'com.oracle:ojdbc6:11.2.0.2.0') and running updateSQL, I'm getting the following error:

"Liquibase Update Failed: Cannot find database driver: "oracle.jdbc.OracleDriver" "

Running in debug mode, I see the ojdbc jar is in the classpath. If I run with Java (taking gradle out of the picture), it finds the driver but fails trying to parse the changelog.groovy file. Running within gradle seems to be having some kind of issue with the lifecycle related to the oracle driver.