Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. MojoExecutor.execute() has thrown a LifecycleExecutionException
    Maven Core
    73
    111
    16
  2. MojoExecutor.execute() has thrown a LifecycleExecutionException
    Maven Core
    94
    138
    25

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project samoa-local: An exception occured while executing the Java class. null
    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)

Solution

poroszd3 years ago

Change the <configuration> in pom.xml to use xml parameters instead of the <arguments> list.

Check the source of this solution for more info

External results for this pattern (10)

  1. PeerHeijnenvia GitHub3 weeks ago
    Failed to execute goal se.eris:notnull-instrumenter-maven-plugin:0.6.8:instrument (default) on project ....: Execution default of goal se.eris:notnull-instrumenter-maven-plugin:0.6.8:instrument failed: NotNull instrumentation failed for ....
    Show stack trace
  2. manavvia GitHub1 month ago
    Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.3.1:compile (default) on project greenhouse: Compiler errors: error classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath) ```
    Show stack trace
  3. jmaydayvia GitHub1 month ago
    Failed to execute goal io.fabric8:docker-maven-plugin:0.27.0:start (start) on project xyz: Execution start of goal io.fabric8:docker-maven-plugin:0.27.0:start failed.
    Show stack trace
  4. vldrusvia GitHub1 month ago
    Failed to execute goal org.codehaus.mojo:rmic-maven-plugin:1.3:rmic (rmic-process-classes) on project FakeProjectName: Execution rmic-process-classes of goal org.codehaus.mojo:rmic-maven-plugin:1.3:rmic failed: A required class was missing while executing org.codehaus.mojo:rmic-maven-plugin:1.3:rmic: javax/rmi/PortableRemoteObject ----------------------------------------------------- realm = plugin>org.codehaus.mojo:rmic-maven-plugin:1.3 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/codehaus/mojo/rmic-maven-plugin/1.3/rmic-maven-plugin-1.3.jar urls[1] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[2] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[3] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar urls[4] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar urls[5] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar urls[6] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar urls[7] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar urls[8] = file:/C:/Users/Vladislav_Alekseev/.m2/repository/org/codehaus/plexus/plexus-compiler-api/2.5/plexus-compiler-api-2.5.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
    Show stack trace
  5. johnpothvia GitHub1 month ago
    Failed to execute goal org.jibx:maven-jibx-plugin:1.3.1:test-bind (default) on project camel-jibx: Superclass java.lang.Object of class org.jibx.runtime.Utility not found
    Show stack trace
  6. hildovia GitHub1 month ago
    Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project minestar-core: Execution default-cli of goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar failed: A required class was missing while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar: javax/xml/bind/ValidationEventHandler ----------------------------------------------------- realm = plugin>org.sonarsource.scanner.maven:sonar-maven-plugin:3.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/hillmep/.m2/repository/org/sonarsource/scanner/maven/sonar-maven-plugin/3.2/sonar-maven-plugin-3.2.jar urls[1] = file:/C:/Users/hillmep/.m2/repository/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar urls[2] = file:/C:/Users/hillmep/.m2/repository/com/sun/xml/bind/jaxb-impl/2.3.0/jaxb-impl-2.3.0.jar urls[3] = file:/C:/Users/hillmep/.m2/repository/com/sun/xml/bind/jaxb-core/2.3.0/jaxb-core-2.3.0.jar urls[4] = file:/C:/Users/hillmep/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.2/maven-dependency-tree-2.2.jar urls[5] = file:/C:/Users/hillmep/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[6] = file:/C:/Users/hillmep/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar urls[7] = file:/C:/Users/hillmep/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[8] = file:/C:/Users/hillmep/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[9] = file:/C:/Users/hillmep/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar urls[10] = file:/C:/Users/hillmep/.m2/repository/org/sonarsource/scanner/api/sonar-scanner-api/2.8/sonar-scanner-api-2.8.jar urls[11] = file:/C:/Users/hillmep/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar urls[12] = file:/C:/Users/hillmep/.m2/repository/com/google/code/findbugs/jsr305/2.0.3/jsr305-2.0.3.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
    Show stack trace
  7. Philipp Kunzvia Google Groups1 month ago
    Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:install- node-and-yarn (install node and yarn) on project jenkins-war: Could not
    Show stack trace
  8. MastaPvia GitHub2 months ago
    Failed to execute goal net.orfjackal.retrolambda:retrolambda-maven-plugin:2.5.1:process-main (default) on project xhub-mappings: Unable to execute mojo
    Show stack trace
  9. jactor-risesvia GitHub2 months ago
    Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project jactor-commons: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test failed.
    Show stack trace
  10. qxlszvia GitHub2 months ago
    Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project apdu4j: Fatal error compiling
    Show stack trace