Maven pom file depends on the prompt ojdbc6 Missing artifact, you need to manually download and import maven reference

eg:

The need ojdbc6.jar Download 

https://www.oracle.com/database/technologies/jdbcdriver-ucp-downloads.html

 

 

 

 

cd to the appropriate directory, import maven command:

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

 

 

Error resolved as follows:

 

 

 

 

 

 ok

 

 

 

Variable name: MAVEN_HOME

Variable values: E: \ apache-maven-3.2.3

Variable name: Path

Variable value:;% MAVEN_HOME% \ bin

Guess you like

Origin www.cnblogs.com/651434092qq/p/12010985.html