org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project CDBOOKSTORE: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java are missing or invalid

Oracle Community | gvanto | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Maven project building but not executing goal - mainClass parameter reported missing (but its there)

    Oracle Community | 3 years ago | gvanto
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project CDBOOKSTORE: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java are missing or invalid
  2. 0

    Missing runTarget parameter for gwt-maven-plugin in pom.xml for onebusaway-webapp?

    Google Groups | 5 years ago | Sean Barbeau
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0-1-oba:debug (default-cli) on project onebusaway-webapp: The parameters 'runTarget' for goal org.codehaus.mojo:gwt-maven-plugin:2.4.0-1-oba:debug are missing or invalid
  3. 0

    Maven remote resource plugin issue

    Stack Overflow | 3 years ago | htomek
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default-cli) on project lte-troubleshoting-solution: The parameters 'resourceBundles' for goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process are missing or invalid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Add maven dependencies of OSGi bundles to the Eclipse target platform

    Stack Overflow | 3 years ago | sina
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal lt.velykis.maven:pde-target-maven-plugin:1.0.0:add-pom-dependencies (default-cli) on project orchestrator-parent: The parameters 'baseDefinition' for goal lt.velykis.maven:pde-target-maven-plugin:1.0.0:add-pom-dependencies are missing or invalid
  6. 0

    Error messages on maven while compiling Storm topology

    Stack Overflow | 1 year ago | Amnor
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project Storm.Prova: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java are missing or invalid

  1. tvrmsmith 2 times, last 10 months ago
  2. davidvanlaatum 3 times, last 1 year ago
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. org.apache.maven.plugin.PluginParameterException

    The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java are missing or invalid

    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields()
  2. Maven Core
    DefaultMavenPluginManager.getConfiguredMojo
    1. org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:581)
    2. org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:534)
    2 frames
  3. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)
    1 frame
  4. Maven Core
    MojoExecutor.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    1 frame