soumitra chatterjee soumitra chatterjee - 1 month ago 23
Java Question

Missing artifact in pom.xml

Missing artifact in pom.xml

I am using Eclipse Luna and working on a maven project. When I add the entry for ojdbc jar in pom.xml , it is giving error in the xml. I can't find any reason for the issue as groupId, artifactId and version are correct.

How can I fix the problem?


due to Oracle license restriction, there are no public repositories that provide ojdbc jar.

you need to download it and install in your local repository. Get jar from Oracle and install it in your local maven repository using

mvn install:install-file -Dfile={path/to/your/ojdbc.jar} 
-DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar