maven - I add dependency in pom.xml -
I am adding dependency to pom.xml. But I got an error in my pom.xml file, Miss Artifact. Oracle: ojdbc14: jar: 10.2.0.2.0. Anything in the steps I have made is wrong. Please help me.
& gt; Dependency & gt; & Lt; Dependency & gt; & Lt; Group & gt; Com.oracle & lt; / Group & gt; & Lt; ArtifactId & gt; Ojdbc14 & lt; / ArtifactId> & Lt; Version & gt; 10.2.0.2.0 & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Com.microsoft.sqlserver & lt; / Group & gt; & Lt; ArtifactId & gt; sqljdbc4 & lt; / ArtifactId> & Lt; Version & gt; 4.0 & lt; / Edition & gt; & Lt; Scope & gt; Sequence & lt; / Scope & gt; & Lt; / Dependencies & gt; & Lt; / Dependencies & gt;
As far as I know, Oracle ojdbc Not available publicly in the Maven Repositories.
You should download it from the Oracle site, add it to your local repository manager and then it will be resolved by Maven. If you see a repository manager (like or), it's the right way to manage your Maven environment.
I hope it will be helpful.
Comments
Post a Comment