解决方法:

 

           下载ojdbc6对应版本号的包。把下载的包放到:

maven 的 oracle的Missing artifact com.oracle:******:jar:11.2.0.2.0

 

然后dos命令:

 

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

主:必须确保已经配置了你maven,如何配置maven跟配置JDK一样。

如果成功后:

maven 的 oracle的Missing artifact com.oracle:******:jar:11.2.0.2.0

 

maven 的 oracle的Missing artifact com.oracle:******:jar:11.2.0.2.0

 

最后把一下代码拷贝到你的pom.xml去。

 

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

 

这样就可以了。

 

 

 

     

 

 

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-07-26
猜你喜欢
  • 2021-06-29
  • 2022-12-23
  • 2021-07-03
  • 2021-08-20
  • 2021-05-25
  • 2021-06-23
相关资源
相似解决方案