add the oracle jdbc rely maven

Description:

1. First configure maven environment variables, and advance to download the corresponding version of ojdbc.jar good package;

2. The administrator privileges to run cmd command, enter the location where ojdbc jar package, run the following command:
mvn install: install-File DFILE = D: \ Workspace \ VCPlatform \ lib \ ojdbc8.jar-DgroupId = com.oracle-DartifactId = ojdbc8 -Dversion = 12.2.0.1 -Dpackaging = jar

Maven can then add items in dependency, each element corresponding to the coordinates of the above command, as follows:
<dependency>
  <the groupId> com.oracle </ the groupId>
  <the artifactId> ojdbc8 </ the artifactId>
  <Version> 12.2.0.1 < / Version>
</ dependency>

Guess you like

Origin www.cnblogs.com/xiule/p/11818221.html