Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an issue with the oracle dependency?

Tags:

maven

maven-3

When I try to use the oracle dependency -

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

I receive a compile time build error - "Missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0". This error is displayed when I hover over error marker (left of ) in attached image -

enter image description here

Is there an issue with this dependency or something I'm doing wrong ?

like image 707
blue-sky Avatar asked Jan 25 '12 17:01

blue-sky


People also ask

What is Oracle dependency?

Oracle manages all local dependencies using the database's internal dependency table, which keeps track of each schema object's dependent objects. When a referenced object is modified, Oracle uses the depends-on table to identify dependent objects, which are then invalidated.

What is the status of the recompilation of dependent objects when the referenced object is dropped?

If a table, view, synonym, or sequence is created, altered, or dropped, or a procedure or package specification is recompiled, all dependent shared SQL areas are invalidated.

Which dictionary object shows dependencies between database objects?

DBA_DEPENDENCIES describes all dependencies between objects in the database.


1 Answers

I followed these steps and solved (for version 10.2.0.4.0):

  1. Add dependency with maven to your pom.
  2. Download the missing file that maven can't find
  3. Put the downloaded file into the repository: .m2\repository\com\oracle\ojdbc14\10.2.0.4.0\
  4. Refresh pom.xml and the error message should be gone.
like image 153
Kumite Avatar answered Sep 24 '22 05:09

Kumite