org.apache.maven.plugin.MojoExecutionException: Error: cannot execute gcloud command java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, Det går inte att hitta filen -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.appengine:gcloud-maven-plugin:2.0.9.90.v20151210:run (default-cli) on project backend: Execution error: org.apache.maven.plugin.MojoExecutionException: Error: cannot execute gcloud command java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, Det går inte att hitta filen

Stack Overflow | Erik | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Why does Maven fail to run this build run?

    Stack Overflow | 6 months ago | Erik
    org.apache.maven.plugin.MojoExecutionException: Error: cannot execute gcloud command java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, Det går inte att hitta filen -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.appengine:gcloud-maven-plugin:2.0.9.90.v20151210:run (default-cli) on project backend: Execution error: org.apache.maven.plugin.MojoExecutionException: Error: cannot execute gcloud command java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, Det går inte att hitta filen

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Error: cannot execute gcloud command java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, Det går inte att hitta filen -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.appengine:gcloud-maven-plugin:2.0.9.90.v20151210:run (default-cli) on project backend: Execution error: org.apache.maven.plugin.MojoExecutionException: Error: cannot execute gcloud command java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, Det går inte att hitta filen

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute()
    2. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    3. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Plexus
      Launcher.mainWithExitCode
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      3 frames