eastwater
eastwater

Reputation: 5572

gradle: could not find oracle jdbc jar from maven repository

Gradle build: could not find oracle jdbc jar from maven repository

> Could not find com.oracle.jdbc:ojdbc8:12.2.0.1.
     Searched in the following locations:
       - https://jcenter.bintray.com/com/oracle/jdbc/ojdbc8/12.2.0.1/ojdbc8-12.2.0.1.pom
       - https://repo.maven.apache.org/maven2/com/oracle/jdbc/ojdbc8/12.2.0.1/ojdbc8-12.2.0.1.pom

It is actually in the maven repository

https://mvnrepository.com/artifact/com.oracle.jdbc/ojdbc8/12.2.0.1

Upvotes: 1

Views: 4508

Answers (2)

Nirmala
Nirmala

Reputation: 1338

Yes, Check out the Gradle dependencies for Oracle JDBC driver on the Maven Central Guide page.

Upvotes: 0

PrasadU
PrasadU

Reputation: 2438

see https://www.oracle.com/database/technologies/maven-central-guide.html

it should be

implementation 'com.oracle.database.jdbc:ojdbc8:12.2.0.1'

Upvotes: 5

Related Questions