title: Missing artifact oracle:ojdbc6:jar:11.2.0.3
body: <p>I am facing "Missing artifact oracle:ojdbc6:jar:11.2.0.3" issue. I went through a lot of blogs but was not successfull.</p>
  
  <p>I tried with ojdbc14, ojdbc7 as well and I am not able to proceed further.</p>
  
  <p><strong>POM file dependency:</strong></p>
  
  <pre><code>&lt;!-- https://mvnrepository.com/artifact/oracle/ojdbc6 --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;oracle&lt;/groupId&gt;
              &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
              &lt;version&gt;11.2.0.3&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p><strong>MAVEN error:</strong>
  <a href="https://i.stack.imgur.com/Wm5Ek.png" rel="nofollow noreferrer">Maven-error</a></p>
  
  <p>I tried to install the oracle jar file onto local repository,but receiving the below error.</p>
  
  <p><strong><em>mvn install:install-file -Dfile={C:\Users\Riya.m2\repository\com\oracle\ojdbc6\11.2.0.3} -DgroupId=oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -DlocalRepositoryPath=C:\Users\Riya.m2\repository</em></strong></p>
  
  <pre><code>C:\Preeti_WORK\WorkSpace\SPRING-BATCH\SpringWriteToDB&gt;mvn install:install-file -Dfile={C:\Users\Riya\.m2\repository\com\oracle\ojdbc6\11.2.0.3} -DgroupId=oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -DloaclRepositoryPath=C:\Users\Riya\.m2\repository
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ---------------------&lt; com.spring:SpringWriteToDB &gt;---------------------
  [INFO] Building SpringBatchDemo 0.0.1-SNAPSHOT
  [INFO] --------------------------------[ jar ]---------------------------------
  [INFO]
  [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ SpringWriteToDB ---
  **[ERROR] The specified file 'C:\Preeti_WORK\WorkSpace\SPRING-BATCH\SpringWriteToDB\{C:\Users\Riya\.m2\repository\com\oracle\ojdbc6\11.2.0.3}' not exists
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) on project SpringWriteToDB: The specified file 'C:\Preeti_WORK\WorkSpace\SPRING-BATCH\SpringWriteToDB\{C:\Users\Riya\.m2\repository\com\oracle\ojdbc6\11.2.0.3}' not exists -&gt; [Help 1]**
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  </code></pre>
  
  <p>I followed the steps in the below link but couldn't progres.
  <a href="https://stackoverflow.com/questions/44238622/missing-artifact-com-oracleojdbc6jar11-2-0-3">Missing artifact com.oracle:ojdbc6:jar:11.2.0.3,</a> </p>
  
  <p>I am using on my personal Laptop, is there something to do with the <code>setting.xml</code> file? I dint face issue with company laptop, as it has local repository settings.</p>