缺少工件 oracle:sdoapi:jar:11.2.0
Missing artifact oracle:sdoapi:jar: 11.2.0
我有一个具有这些依赖项的 Maven 项目:
<dependency>
<groupId>oracle</groupId>
<artifactId>sdoapi</artifactId>
<version>11.2.0</version>
</dependency>
我在 pom.xml 文件上有这个错误,我已经清理了我的存储库:
Missing artifact oracle:sdoapi:jar:
11.2.0
但是文件明明在maven仓库里
https://mvnrepository.com/artifact/oracle/sdoapi/11.2.0
正在做mvn clean install
我收到这个错误:
[ERROR] Failed to execute goal on project geohotels: Could not resolve dependencies for project geohotels:geohotels:war:0.0.1-SNAPSHOT: Failure to find oracle:sdoapi:jar:11.2.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]
但在错误之前我在清理所有内容后看到了这个:
Downloading: https://repo.maven.apache.org/maven2/oracle/sdoapi/11.2.0/sdoapi-11.2.0.pom
[WARNING] The POM for oracle:sdoapi:jar:11.2.0 is missing, no dependency information available
我手动安装了它并且有效:
mvn install:install-file -Dfile=sdoapi-11.2.0.jar -DgroupId=oracle -DartifactId=sdoapi -Dversion=11.2.0 -Dpackaging=jar
我有一个具有这些依赖项的 Maven 项目:
<dependency>
<groupId>oracle</groupId>
<artifactId>sdoapi</artifactId>
<version>11.2.0</version>
</dependency>
我在 pom.xml 文件上有这个错误,我已经清理了我的存储库:
Missing artifact oracle:sdoapi:jar:
11.2.0
但是文件明明在maven仓库里
https://mvnrepository.com/artifact/oracle/sdoapi/11.2.0
正在做mvn clean install
我收到这个错误:
[ERROR] Failed to execute goal on project geohotels: Could not resolve dependencies for project geohotels:geohotels:war:0.0.1-SNAPSHOT: Failure to find oracle:sdoapi:jar:11.2.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]
但在错误之前我在清理所有内容后看到了这个:
Downloading: https://repo.maven.apache.org/maven2/oracle/sdoapi/11.2.0/sdoapi-11.2.0.pom
[WARNING] The POM for oracle:sdoapi:jar:11.2.0 is missing, no dependency information available
我手动安装了它并且有效:
mvn install:install-file -Dfile=sdoapi-11.2.0.jar -DgroupId=oracle -DartifactId=sdoapi -Dversion=11.2.0 -Dpackaging=jar