org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project example-project: Exception in provider

Stack Overflow | skia.heliou | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Try to run your project from where the Application class is, instead of trying to run it from root.
  2. 0
    samebug tip
    Change the <configuration> in pom.xml to use xml parameters instead of the <arguments> list.
  3. 0

    Maven - Users - Maven Release Plugin and Java 8 issue

    nabble.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project xxxx: Maven execution failed, exit code: '1'  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Try to use this command to set the timeout to a larger value mvn jetty:run -Dorg.eclipse.jetty.annotations.maxWait=120
  6. 0

    compile tests using maven-compiler and jdk9-ea+148

    Stack Overflow | 5 months ago | Verdent
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project bar: Execution default-testCompile of goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile failed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.awt.shell.Win32ShellFolder2.access$200()
    2. Java RT
      Thread.run
      1. sun.awt.shell.Win32ShellFolder2.access$200(Win32ShellFolder2.java:72)
      2. sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:242)
      3. sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:237)
      4. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:547)
      8. java.lang.Thread.run(Thread.java:745)
      8 frames