Home pom文件报错:The POM for com.oracle:ojdbc14:jar:10.2.0.1.0 is missing
Post
Cancel

pom文件报错:The POM for com.oracle:ojdbc14:jar:10.2.0.1.0 is missing

报错信息

1
2
The POM for com.oracle:ojdbc14:jar:10.2.0.1.0 is missing, 
no dependency information available; 

解决方法

cmd中输入

mvn install:install-file 
-DgroupId=com.oracle 
-DartifactId=ojdbc14 
-Dversion=10.2.0.2.0 
-Dpackaging=jar 
-Dfile=C:\Users\Administrator\Desktop\ojdbc14-10.2.0.2.0.jar 

将Oracle驱动包导入到Maven本地库中,重新运行maven update即可。

This post is licensed under CC BY 4.0 by the author.