install install oracle.jar to the local warehouse

If maven is not installed locally, first download and decompress it from the apache mavne official website, and configure environment variables.

Start cmd input: mvn -v

 

After the installation is successful, install the oracle6 driver package to the local warehouse through cmd

mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=12.1.0.1 -Dpackaging=jar -Dfile=F:/oracle/ojdbc6.jar

<dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc6</artifactId>
    <version>12.1.0.1</version>
</dependency>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325035830&siteId=291194637