你的位置:首页 > 数据库

[数据库]maven oracle jdbc jar

1.problem describe:

  when you dependency jar about oracle use code like this:

             <!-- oracle-connector -->
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc14</artifactId>
            <version>${oracle.connector.version}</version>
        </dependency>

   you will not really get jar through maven, because you don't have permission to get the jar.

2. sulution:

   you can get the jar from some web site, and then install it to you local maven repository.

   now i put my jar to D:ojdbc14.jar