Bshwajeet
Bshwajeet

Reputation: 5

JDBC dependency for Maven on Spring mvc

I am using oracle DB to connect with my java code on below used platform:

While running the spring boot app,I am getting error of jdbc driver not found for database connection string.

I tried to resolve the same by adding all related dependency, however none of them showing me valid, and also it is unable to download required jar during maven build.

I have also tried manually placing the jars in ./m2 directory by downloading from open source, but still not working.

Upvotes: 0

Views: 934

Answers (1)

Saquib Ali
Saquib Ali

Reputation: 120

Below is the maven dependency of Oracle-connector. Oracle connector is missing so it is giving this error.

<dependency>
  <groupId>com.oracle</groupId>
  <artifactId>ojdbc14</artifactId>
  <version>10.2.0.3.0</version>
</dependency>

Upvotes: 1

Related Questions