org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.4:run (default-cli) on project com.echo.cis.gui.ear: Execution default-cli of goal org.apache.maven.plugins:maven-antrun-plugin:1.4:run failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-antrun-plugin:1.4:run: java.lang.NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String; ----------------------------------------------------- realm = plugin>org.apache.maven.plugins:maven-antrun-plugin:1.4-414553357 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/maven/plugins/maven-antrun-plugin/1.4/maven-antrun-plugin-1.4.jar urls[1] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/ant/ant-nodeps/1.6.5/ant-nodeps-1.6.5.jar urls[2] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/ant/ant-trax/1.6.5/ant-trax-1.6.5.jar urls[3] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar urls[4] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar urls[5] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/junit/junit/3.8.1/junit-3.8.1.jar urls[6] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar urls[7] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar urls[8] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar Number of foreign imports: 4 import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm ClassRealm[plexus.core, parent: null]] realm = project>com.echo.cis.gui:com.echo.cis.gui:1.5.2-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy Number of foreign imports: 1 import: Entry[import extension>org.apache.maven.wagon:wagon-ssh:1.0-alpha-5 from realm ClassRealm[extension>org.apache.maven.wagon:wagon-ssh:1.0-alpha-5, parent: ClassRealm[plexus.core, parent: null]]] Number of parent imports: 20 import: Entry[import org.codehaus.plexus.personality from realm null] import: Entry[import org.codehaus.plexus.logging from realm null] import: Entry[import org.codehaus.plexus.lifecycle from realm null] import: Entry[import org.codehaus.plexus.context from realm null] import: Entry[import org.codehaus.plexus.container from realm null] import: Entry[import org.codehaus.plexus.configuration from realm null] import: Entry[import org.codehaus.plexus.component from realm null] import: Entry[import org.codehaus.plexus.classworlds from realm null] import: Entry[import org.codehaus.plexus.PlexusContainerException from realm null] import: Entry[import org.codehaus.plexus.PlexusContainer from realm null] import: Entry[import org.codehaus.plexus.PlexusConstants from realm null] import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm null] import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from realm null] import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm null] import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm null] import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm null] import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm null] import: Entry[import org.codehaus.plexus.ComponentRegistry from realm null] import: Entry[import org.codehaus.classworlds from realm null] import: Entry[import org.apache.maven from realm null] realm = plexus.core strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/java/apache-maven-3.0-beta-1/lib/commons-cli-1.2.jar urls[1] = file:/C:/java/apache-maven-3.0-beta-1/lib/google-collections-1.0.jar urls[2] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-artifact-3.0-beta-1.jar urls[3] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-compat-3.0-beta-1.jar urls[4] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-core-3.0-beta-1.jar urls[5] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-embedder-3.0-beta-1.jar urls[6] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-model-3.0-beta-1.jar urls[7] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-model-builder-3.0-beta-1.jar urls[8] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-plugin-api-3.0-beta-1.jar urls[9] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-settings-3.0-beta-1.jar urls[10] = file:/C:/java/apache-maven-3.0-beta-1/lib/nekohtml-1.9.6.2.jar urls[11] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-cipher-1.4.jar urls[12] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-component-annotations-1.5.4.jar urls[13] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-container-default-1.5.4.jar urls[14] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-interpolation-1.11.jar urls[15] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-sec-dispatcher-1.3.jar urls[16] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-utils-2.0.3.jar urls[17] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-file-1.0-beta-6.jar urls[18] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-http-lightweight-1.0-beta-6.jar urls[19] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-http-shared-1.0-beta-6.jar urls[20] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-provider-api-1.0-beta-6.jar urls[21] = file:/C:/java/apache-maven-3.0-beta-1/lib/xbean-reflect-3.4.jar urls[22] = file:/C:/java/apache-maven-3.0-beta-1/lib/xercesMinimal-1.9.6.2.jar Number of foreign imports: 0 ----------------------------------------------------- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:149) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mail-archive.com by Unknown author, 1 year ago
= plugin>org.apache.maven.plugins:maven-antrun-plugin:1.4-414553357 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/maven/plugins/maven-antrun-plugin
via nabble.com by Unknown author, 2 years ago
>org.apache.maven.plugins:maven-source-plugin:2.2.1 strategy = > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = > > file:/C:/Documents%20and%20Settings/10604640/.m2/repository/org/apache/maven/plugins/maven-source-plugin/2.2.1/maven
via GitHub by jmMeessen
, 2 years ago
Failed to execute goal com.kryshchuk.maven.plugins:umlet-maven-plugin:1.1.6:convert (default-cli) on project document: Execution default-cli of goal com.kryshchuk.maven.plugins:umlet-maven-plugin:1.1.6:convert failed: Unable to load the mojo
via hadoop-common-dev by Rich Haase, 1 year ago
Failed to execute >goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on >project >hadoop-common: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec >dir="/Users/302000545/Documents/workspace/Hadoop/hadoop
via hadoop-common-dev by Raghavendra Vaidya, 1 year ago
Failed to execute > >goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on > >project > >hadoop-common: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec > >dir="/Users/302000545/Documents/workspace/Hadoop
via osdir.com by Unknown author, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (updateProps) on project presentation-fx: An Ant BuildException has occured: The following error occurred while executing this line: /Users/peter/myproject/build.xml:15
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.4:run (default-cli) on project com.echo.cis.gui.ear: Execution default-cli of goal org.apache.maven.plugins:maven-antrun-plugin:1.4:run failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-antrun-plugin:1.4:run: java.lang.NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String; ----------------------------------------------------- realm = plugin>org.apache.maven.plugins:maven-antrun-plugin:1.4-414553357 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/maven/plugins/maven-antrun-plugin/1.4/maven-antrun-plugin-1.4.jar urls[1] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/ant/ant-nodeps/1.6.5/ant-nodeps-1.6.5.jar urls[2] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/ant/ant-trax/1.6.5/ant-trax-1.6.5.jar urls[3] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar urls[4] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar urls[5] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/junit/junit/3.8.1/junit-3.8.1.jar urls[6] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar urls[7] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar urls[8] = file:/C:/Documents%20and%20Settings/asookazian/.m2/repo2/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar Number of foreign imports: 4 import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm ClassRealm[plexus.core, parent: null]] realm = project>com.echo.cis.gui:com.echo.cis.gui:1.5.2-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy Number of foreign imports: 1 import: Entry[import extension>org.apache.maven.wagon:wagon-ssh:1.0-alpha-5 from realm ClassRealm[extension>org.apache.maven.wagon:wagon-ssh:1.0-alpha-5, parent: ClassRealm[plexus.core, parent: null]]] Number of parent imports: 20 import: Entry[import org.codehaus.plexus.personality from realm null] import: Entry[import org.codehaus.plexus.logging from realm null] import: Entry[import org.codehaus.plexus.lifecycle from realm null] import: Entry[import org.codehaus.plexus.context from realm null] import: Entry[import org.codehaus.plexus.container from realm null] import: Entry[import org.codehaus.plexus.configuration from realm null] import: Entry[import org.codehaus.plexus.component from realm null] import: Entry[import org.codehaus.plexus.classworlds from realm null] import: Entry[import org.codehaus.plexus.PlexusContainerException from realm null] import: Entry[import org.codehaus.plexus.PlexusContainer from realm null] import: Entry[import org.codehaus.plexus.PlexusConstants from realm null] import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm null] import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from realm null] import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm null] import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm null] import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm null] import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm null] import: Entry[import org.codehaus.plexus.ComponentRegistry from realm null] import: Entry[import org.codehaus.classworlds from realm null] import: Entry[import org.apache.maven from realm null] realm = plexus.core strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/java/apache-maven-3.0-beta-1/lib/commons-cli-1.2.jar urls[1] = file:/C:/java/apache-maven-3.0-beta-1/lib/google-collections-1.0.jar urls[2] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-artifact-3.0-beta-1.jar urls[3] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-compat-3.0-beta-1.jar urls[4] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-core-3.0-beta-1.jar urls[5] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-embedder-3.0-beta-1.jar urls[6] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-model-3.0-beta-1.jar urls[7] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-model-builder-3.0-beta-1.jar urls[8] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-plugin-api-3.0-beta-1.jar urls[9] = file:/C:/java/apache-maven-3.0-beta-1/lib/maven-settings-3.0-beta-1.jar urls[10] = file:/C:/java/apache-maven-3.0-beta-1/lib/nekohtml-1.9.6.2.jar urls[11] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-cipher-1.4.jar urls[12] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-component-annotations-1.5.4.jar urls[13] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-container-default-1.5.4.jar urls[14] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-interpolation-1.11.jar urls[15] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-sec-dispatcher-1.3.jar urls[16] = file:/C:/java/apache-maven-3.0-beta-1/lib/plexus-utils-2.0.3.jar urls[17] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-file-1.0-beta-6.jar urls[18] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-http-lightweight-1.0-beta-6.jar urls[19] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-http-shared-1.0-beta-6.jar urls[20] = file:/C:/java/apache-maven-3.0-beta-1/lib/wagon-provider-api-1.0-beta-6.jar urls[21] = file:/C:/java/apache-maven-3.0-beta-1/lib/xbean-reflect-3.4.jar urls[22] = file:/C:/java/apache-maven-3.0-beta-1/lib/xercesMinimal-1.9.6.2.jar Number of foreign imports: 0 ----------------------------------------------------- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:149) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.