Problem while running bmc-example ObjectStorageGetBucketExample.java
Summary: Trying to run bmc-example as per README.md in oci-java-sdk-master with the instruction as below
"mvn -am -pl bmc-examples -e -X exec:java -Dexec.mainClass=ObjectStorageGetBucketExample.java -Dexec.arguments=compartment_ocid,bucket_name,object_name"
Content (required):
Version (include the version you are using, if applicable): oci -version
3.8.0
java -version
java version "18.0.1" 2022-04-19
Java(TM) SE Runtime Environment (build 18.0.1+10-24)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1+10-24, mixed mode, sharing)
Code Snippet (add any code snippets that support your topic, if applicable): This is the error being encountered
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project oci-java-sdk-examples: An exception occured while executing the Java class. ObjectStorageGetBucketExample.java -> [Help 1]