无法从 Oracle 中选择 Oracle XDB 依赖项。
[INFO] --------------------------------[ war ]---------------------------------
[INFO] Downloading from : https://artifactory.chintugrator.cosng.net/libs-release/com/oracle/xdb/12.1.0.2/xdb-12.1.0.2.pom
[INFO] Downloading from : https://repo.maven.apache.org/maven2/com/oracle/xdb/12.1.0.2/xdb-12.1.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.518 s
[INFO] Finished at: 2021-06-21T15:27:16+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project tep-tacts-crm: Could not resolve dependencies for project chintugrator:tep-tacts-crm:war:1.1-SNAPSHOT: Failed to collect dependencies at com.oracle:xdb:jar:12.1.0.2: Failed to read artifact descriptor for com.oracle:xdb:jar:12.1.0.2: Could not transfer artifact com.oracle:xdb:pom:12.1.0.2 from/to chintugrator-releases (https://artifactory.chintugrator.cosng.net/libs-release): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
在添加以下依赖项时:
<dependency>
<groupId>com.oracle</groupId>
<artifactId>xdb</artifactId>
<version>12.1.0.2</version>
</dependency>
这在 AQ 中使用,其他相关依赖项很好:
<dependency>
<groupId>com.oracle.database.messaging</groupId>
<artifactId>aqapi</artifactId>
<version>19.3.0.0</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>