maven install 出现Could not resolve dependencies for project

如下所示:

Failed to execute goal on project test123: Could not resolve dependencies for project test123:war:0.0.1-SNAPSHOT: Failure to find com.oracle:ojdbc6:jar:11.1.0.7.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR] 

看了一下pom文件,发现是红色的

maven install 出现Could not resolve dependencies for project_第1张图片

Missing artifact com.oracle:ojdbc6:jar:11.1.0.7.0 

 
  com.oracle
  ojdbc6
  11.1.0.7.0

原因:Oracle版权问题,maven里是没有的,需要手动导入

 

你可能感兴趣的:(SSM)