티스토리 뷰

오라클 디비 커넥터(ojdbc)를 pox.xml에서 dependency 지정할 때

missing artifact ojdbc 와같은 오류 메세지를 볼 수 있다.


메이븐 기본 저장소에 오라클 디비 커넥터가 없어서 생기는 오류라고 한다.


저장소를 추가하고 디펜던시 설정을 해주자.



<repositories>
    <!-- ojdbc14 -->
    <repository>
        <id>mesir-repo</id>
        <url>http://mesir.googlecode.com/svn/trunk/mavenrepo</url>
        </repository>
    <!-- ojdbc6 -->
    <repository>
        <id>codelds</id>
        <url>https://code.lds.org/nexus/content/groups/main-repo</url>
    </repository>
</repositories>

<dependencies>
    <!-- oracle 10g, 11g -->
    <dependency>
        <groupId>com.oracle</groupId>
        <artifactId>ojdbc14</artifactId>
        <version>10.2.0.4.0</version>
    </dependency>
    <!-- oracle 11g -->
    <dependency>
        <groupid>com.oracle</groupid>
        <artifactid>ojdbc6</artifactid>
        <version>11.2.0.3</version>
    </dependency>
</dependencies>


공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함