org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plu\ gin:0.4:run (default) on project elephant-bird-core: Unable to find 'protoc'

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 Google Groups by Unknown author, 1 year ago
Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plu\ gin:0.4:run (default) on project elephant-bird-core: Unable to find 'protoc'
via Stack Overflow by Savio Mathew
, 2 years ago
Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.3.1:sonar (default-cli) on project XXX-parent: Unable to save measure for metric [pdf-data] on component [com.XXX:XXX-parent]
via GitHub by zhuzhengwen1983
, 2 years ago
Failed to execute goal o rg.springframework.boot:spring-boot-maven-plugin:0.5.0.M1:repackage (default) on project myproject: Execution default of goal org.springframework.boot:spring-bo ot-maven-plugin:0.5.0.M1:repackage failed: Unable to find main class
via goodercode.com by Unknown author, 1 year ago
Failed to execute goal c uke4duke:cuke4duke-maven-plugin:0.4.3:cucumber (default-cli) on project maven-cu ke: JRuby failed.
via Stack Overflow by Pith
, 2 years ago
Failed to execute goal o rg.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project XXX: Can not execute Sonar
via Google Groups by Oliver Weiss, 1 year ago
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project twitter4j-examples: Command execution failed.
org.apache.maven.plugin.MojoExecutionException: Unable to find 'protoc'
at com.github.igor_petruk.protobuf.maven.plugin.MyMojo.execute(MyMojo.java:150)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
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:319)
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 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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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

You are the first who have seen this exception.

Write tip

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