从 SDK 运行“ObjectStorageSyncExample”时看到以下异常。我没有做任何修改。也正确配置了 ~/.oci/config。
线程“main”中的异常 java.lang.NoSuchFieldError: id_ecPublicKey at org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter.(Unknown Source) at com.oracle.bmc.http.signing.internal.PEMFileRSAPrivateKeySupplier.(PEMFileRSAPrivateKeySupplier.java:47)在 com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory.createKeySupplier(DefaultRequestSignerFactory.java:111) 在 com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory.createRequestSigner(DefaultRequestSignerFactory.java:54) 在 com.oracle .bmc.objectstorage.ObjectStorageClient.(ObjectStorageClient.java:181) 在 com.oracle.bmc.objectstorage.ObjectStorageClient.(ObjectStorageClient.java:137) 在 com.oracle.bmc.objectstorage.ObjectStorageClient.(ObjectStorageClient.java:109)在 com.oracle.bmc.objectstorage.ObjectStorageClient。(ObjectStorageClient.java:84) 在 com.oracle.bmc.objectstorage.ObjectStorageClient.(ObjectStorageClient.java:61) 在 com.oracle.bmc.objectstorage.ObjectStorageClient.(ObjectStorageClient.java:47) 在 com.oracle.bmc。对象存储.ObjectStorageClient.(ObjectStorageClient.java:36)