org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile (default) on project kudu-client: protoc failed to execute because: null

Solutions on the web4761

  • via kudu-user by Mike Percy, 9 months ago
    Failed to execute goal com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile (default) on project kudu-client: protoc failed to execute because: null
  • via kudu-user by Jean-Daniel Cryans, 9 months ago
    Failed to execute goal com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile (default) on project kudu-client: protoc failed to execute because: null
  • via kudu-user by Darren Hoo, 9 months ago
    Failed to execute goal com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile (default) on project kudu-client: protoc failed to execute because: null
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile (default) on project kudu-client: protoc failed to execute because: null at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: protoc failed to execute because: null at com.google.protobuf.maven.AbstractProtocMojo.execute(AbstractProtocMojo.java:175) at com.google.protobuf.maven.ProtocCompileMojo.execute(ProtocCompileMojo.java:21) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: java.lang.IllegalArgumentException at com.google.common.base.Preconditions.checkArgument(Preconditions.java:70) at com.google.protobuf.maven.Protoc$Builder.addProtoPathElement(Protoc.java:191) at com.google.protobuf.maven.Protoc$Builder.addProtoPathElements(Protoc.java:201) at com.google.protobuf.maven.AbstractProtocMojo.execute(AbstractProtocMojo.java:157) ... 23 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    10 times, 2 weeks ago
    Once, 7 months ago
    8 times, 11 months ago
    Once, 1 year ago
    Once, 1 year ago
    32 more bugmates