This was asked before but did not help because I am using gradle. I have Oracle 12c running in Docker at jdbc:oracle:thin:@//localhost:1521/xe
.
In my gradle.build I have the following gradle task:
task('dev') << {
println "executing dev"
liquibase {
activities {
main {
changeLogFile changeLog
url 'jdbc:oracle:thin:@//localhost:1521/xe'
username 'admin'
password 'admin'
}
}
}
}
I added two different jars to libs/jdbc-oracle.jar
and added compile files('libs/jdbc-oracle.jar')
but still got the same error. I am using the gradle liquidbase plugin
version classpath "org.liquibase:liquibase-gradle-plugin:1.2.4"
Has anyone had this issue before? How was it resolved?
-------------------Update 1-----------------
I added the following:
compile ("com.oracle:ojdbc7:12.1.0.1")
in the buildscript
and tried in the dependencies
both failed.