Skip to content

Instantly share code, notes, and snippets.

@jeanbza
Created August 21, 2019 17:12
Show Gist options
  • Save jeanbza/d88583bc1c221ef9f1adb44ee88d6d0d to your computer and use it in GitHub Desktop.
Save jeanbza/d88583bc1c221ef9f1adb44ee88d6d0d to your computer and use it in GitHub Desktop.
rdeklerk at deklerk-macbookpro2 in ~/workspace/google-cloud-java/google-cloud-testing/storage-benchwrapper on benchwrapper*
$ rm -rf target
deklerk at deklerk-macbookpro2 in ~/workspace/google-cloud-java/google-cloud-testing/storage-benchwrapper on benchwrapper*
$ mvn exec:java -DskipTests=true -Dport=8081
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.14
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 14
[INFO] os.detected.classifier: osx-x86_64
[INFO]
[INFO] -------------------< com.google.cloud:benchwrapper >--------------------
[INFO] Building benchwrapper 0.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ benchwrapper ---
[WARNING]
java.lang.ClassNotFoundException: com.google.cloud.benchwrapper.Main
at java.net.URLClassLoader.findClass (URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass (ClassLoader.java:424)
at java.lang.ClassLoader.loadClass (ClassLoader.java:357)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:270)
at java.lang.Thread.run (Thread.java:748)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.920 s
[INFO] Finished at: 2019-08-21T11:12:07-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project benchwrapper: An exception occured while executing the Java class. com.google.cloud.benchwrapper.Main -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment