如下所示:
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文件,发现是红色的

Missing artifact com.oracle:ojdbc6:jar:11.1.0.7.0
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.1.0.7.0</version>
</dependency>
原因:Oracle版权问题,maven里是没有的,需要手动导入

5万+

被折叠的 条评论
为什么被折叠?



