You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Problem while running bmc-example

Accepted answer
edited May 25, 2022 8:06AM in Oracle Cloud Infrastructure - General 2 comments

Summary: Trying to run bmc-example as per in oci-java-sdk-master with the instruction as below

"mvn -am -pl bmc-examples -e -X exec:java -Dexec.arguments=compartment_ocid,bucket_name,object_name"

Content (required):

Version (include the version you are using, if applicable): oci -version


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. -> [Help 1]

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!