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

tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Change the <configuration> in pom.xml to use xml parameters instead of the <arguments> list.
  2. 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)
  3. 0

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

    Stack Overflow | 2 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 163#245635877

    GitHub | 5 months ago | cmungall
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project OWLTools-Core: Fatal error compiling 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:128)
  6. 0

    NotDirectoryException when jdk-9-ea+131 is used

    GitHub | 6 months ago | dudaerich
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project artemis-commons: Fatal error compiling

    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 org.junit.runner.Description.createSuiteDescription()
    2. JUnit
      Description.createSuiteDescription
      1. org.junit.runner.Description.createSuiteDescription(Description.java:123)
      1 frame
    3. ru.yandex.qatools
      AllureRunListener.testStarted
      1. ru.yandex.qatools.allure.junit.AllureRunListener.getSuiteUid(AllureRunListener.java:110)
      2. ru.yandex.qatools.allure.junit.AllureRunListener.testStarted(AllureRunListener.java:50)
      2 frames
    4. JUnit
      RunNotifier.fireTestStarted
      1. org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:115)
      2. org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:61)
      3. org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:112)
      3 frames
    5. JUnit4 Provider
      Notifier.fireTestStarted
      1. org.apache.maven.surefire.common.junit4.Notifier.fireTestStarted(Notifier.java:100)
      1 frame
    6. JUnit
      EachTestNotifier.fireTestStarted
      1. org.junit.internal.runners.model.EachTestNotifier.fireTestStarted(EachTestNotifier.java:43)
      1 frame
    7. Cucumber-JVM: JUnit
      FeatureRunner.runChild
      1. cucumber.runtime.junit.JUnitReporter.startExecutionUnit(JUnitReporter.java:54)
      2. cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:100)
      3. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
      4. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
      4 frames
    8. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      6 frames
    9. Cucumber-JVM: JUnit
      Cucumber.runChild
      1. cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
      2. cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
      3. cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
      3 frames
    10. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      6. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      7. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      8. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      8 frames
    11. Cucumber-JVM: JUnit
      Cucumber.run
      1. cucumber.api.junit.Cucumber.run(Cucumber.java:100)
      1 frame
    12. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
      4 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    14. SureFire
      ProviderFactory.invokeProvider
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:202)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:155)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
      3 frames
    15. Maven Surefire Common
      AbstractSurefireMojo.execute
      1. org.apache.maven.plugin.surefire.InPluginVMSurefireStarter.runSuitesInProcess(InPluginVMSurefireStarter.java:82)
      2. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1010)
      3. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862)
      4. org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
      4 frames
    16. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    17. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    18. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    20. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames