class file for com.oracle.bmc.http.internal.BaseSyncClient not found
Open
Nobody has claimed this yet.
SDK
- Dominant language
- Java
- Stars
- 243
- Forks
- 171
- Avg merge
- 30m
- Merged PRs (30d)
- 4
Description
With OCI SDK version 3.25.1 I am getting a build failure with below error:
[main] ERROR org.apache.maven.plugin.compiler.CompilerMojo - /mnt/docker/jenkins/workspace/Build_ppln_faw-etl-services/biapps-etl-services-war/src/main/java/oracle/apps/bi/etl/services/util/CommonETLUtils.java:[4872,9] cannot access com.oracle.bmc.http.internal.BaseSyncClient
class file for com.oracle.bmc.http.internal.BaseSyncClient not found
[main] INFO org.apache.maven.plugin.compiler.CompilerMojo - 1 error
The error is thrown from the line where new SecretsClient(provider) is called.
InstancePrincipalsAuthenticationDetailsProvider provider = InstancePrincipalsAuthenticationDetailsProvider.builder().build();
String secret;
try (SecretsClient client = new SecretsClient(provider)){
GetSecretBundleRequest getSecretBundleRequest = GetSecretBundleRequest.builder().secretId(secretOcid)
.stage(GetSecretBundleRequest.Stage.Current).build();
note: the same code has been working with older version e.g version 2.51.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Maven compiler failure in CommonETLUtils.java at the SecretsClient constructor with OCI SDK 3.25.1. Compare the resolved dependencies and SecretsClient/BaseSyncClient availability with version 2.51.2. Done means the reported build compiles successfully with the supported dependency set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, build-system, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100