我有一个Maven应用程序要部署到Google Cloud,pom文件如下所示在我的本地Windows计算机上
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.cloud.teleport</groupId>
<artifactId>google-cloud-teleport-java</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>gcloud-maven-plugin</artifactId>
<version>2.0.9.121.v20160815</version>
</plugin>
</plugins>
</build>
当我在项目上运行mvn时
mvn deploy:gcloud
我将得到以下错误:
Failed to execute goal com.google.appengine:gcloud-maven-`plugin:2.0.9.121.v20160815:deploy (default-cli) on project appengine-cron: Could not start the dev app server: Cannot run program "python.exe" (in directory "C:\Users\Mahdi\git\AppEngineCron\target\appengine-staging"): CreateProcess error=2, The system cannot find the file specified`
我在Windows机器上安装了pyhton 3.7,它位于路径目录下