com.oracle:ojdbc6:jar:11.2.0 Missing artifact in pom.xml

#JavaInspires






Hi Guys, Welcome to Java Inspires.

In this post, we will see how to fix "com.oracle:ojdbc6:jar:11.2.0" Missing artifact in pom.xml issue in eclipse when we try to build a maven project. We used to get this while working with java maven project with oracle ojdbc jar dependency in pom.xml.

"com.oracle:ojdbc6:jar:11.2.0 in pom.xml"

As per Oracle license restriction, to get this jar there is no repositories as public.

We cannot get this from any maven repositories.

Only one way is to download it and place in local repository. or place ojdbc6.jar in your project resources folder
then add the following dependency code in your pom.xml

<dependency>
 <groupId>oracle</groupId>
 <artifactId>ojdbc6</artifactId>
 <version>11.2.0</version>
  <scope>system</scope>
  <systemPath>${project.basedir}/src/main/resources/ojdbc6.jar</systemPath>
</dependency>

THANK YOU....
Please comment if you have any more suggestions to add.




tags to search:"com.oracle:ojdbc6:jar:11.2.0" Missing artifact in pom.xml, add local jar to maven, add ojdbc to maven, add ojdbc7.jar to maven, add jdbc driver to maven

Post a Comment

Previous Post Next Post