org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (exec-protoc) on project mage: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec failonerror="true" executable="${protoc.filepath}">... @ 14:60 in D:\NetBeans 8.1\workspace\mage\Mage\target\antrun\build-main.xml

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by jb11
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (exec-protoc) on project mage: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec failonerror="true" executable="${protoc.filepath}">... @ 14:60 in D:\NetBeans 8.1\workspace\mage\Mage\target\antrun\build-main.xml
via Stack Overflow by Celina d&#39; &#193;vila Samogin
, 10 months ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run ( dist) on project hadoop-mapreduce: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec failonerror="true" dir="/home/hadoop/mnt/hadoop-3.0.0
via Stack Overflow by user3581142
, 9 months 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="/usr/local/hadoop/hadoop-2.4.0-src/hadoop-common-project
via Stack Overflow by user3492549
, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-version-annotation)ception has occured: Execute failed: java.io.IOException: Cannot run program "bash" (in directory "D:\IDE\workspace\MyEclipse 8.6\hive-0.13
via hadoop-common-dev by Apache Jenkins Server, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (site) on project hadoop-common: An Ant BuildException has occured: exec returned: 1
via hadoop-common-dev by Apache Jenkins Server, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (site) on project hadoop-common: An Ant BuildException has occured: exec returned: 1
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (exec-protoc) on project mage: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec failonerror="true" executable="${protoc.filepath}">... @ 14:60 in D:\NetBeans 8.1\workspace\mage\Mage\target\antrun\build-main.xml
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:342)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
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:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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