Oracle Advanced Queue,Java 和 Maven:无法找到请求目标的有效证书路径
Oracle Advanced Queue, Java and Maven : unable to find valid certification path to requested target
没有进入任何项目,甚至 jdbc 依赖:
第一次在 Maven 中使用 Oracle Advanced Queue 尝试项目并得到以下错误
Failed to collect dependencies at com.oracle:aqapi:jar:11.2.0.0: Failed to read artifact descriptor for com.oracle:aqapi:jar:11.2.0.0: Could not transfer artifact com.oracle:aqapi:pom:11.2.0.0 from/to integrator-releases (https://artifactory.fintegrator.cosng.net/libs-release): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>aqapi</artifactId>
<version>11.2.0.0</version>
</dependency>
我有什么遗漏的吗?
存储库:
<distributionManagement>
<repository>
<id>integrator-libs-release-local</id>
<name>Integrator Libraries Release Local</name>
<url>https://artifactory.fintegrator.cosng.net/libs-release-local</url>
</repository>
<snapshotRepository>
<id>integrator-libs-snapshot-local</id>
<name>Integrator Libraries Snapshot Local</name>
<url>https://artifactory.fintegrator.cosng.net/libs-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
您似乎使用了一些过时的依赖项。
试试这些:
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.4</version>
</dependency>
<dependency>
<groupId>com.oracle.database.messaging</groupId>
<artifactId>aqapi</artifactId>
<version>19.3.0.0</version>
</dependency>
没有进入任何项目,甚至 jdbc 依赖:
第一次在 Maven 中使用 Oracle Advanced Queue 尝试项目并得到以下错误
Failed to collect dependencies at com.oracle:aqapi:jar:11.2.0.0: Failed to read artifact descriptor for com.oracle:aqapi:jar:11.2.0.0: Could not transfer artifact com.oracle:aqapi:pom:11.2.0.0 from/to integrator-releases (https://artifactory.fintegrator.cosng.net/libs-release): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>aqapi</artifactId>
<version>11.2.0.0</version>
</dependency>
我有什么遗漏的吗?
存储库:
<distributionManagement>
<repository>
<id>integrator-libs-release-local</id>
<name>Integrator Libraries Release Local</name>
<url>https://artifactory.fintegrator.cosng.net/libs-release-local</url>
</repository>
<snapshotRepository>
<id>integrator-libs-snapshot-local</id>
<name>Integrator Libraries Snapshot Local</name>
<url>https://artifactory.fintegrator.cosng.net/libs-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
您似乎使用了一些过时的依赖项。
试试这些:
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.4</version>
</dependency>
<dependency>
<groupId>com.oracle.database.messaging</groupId>
<artifactId>aqapi</artifactId>
<version>19.3.0.0</version>
</dependency>