My java App Engine Managed VMs build doesn't deploy any more using gcloud preview app deploy target/myapp-SNAPSHOT
I get this:
ERROR: Found no valid App Engine configuration files in directory
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- __call__() missing 1 required positional argument:
- Upload file to Google Cloud Storage using AngularJ
- Where is the best place to put one-time and every-
- facebook “could not retrieve data from URL”
相关文章
- Is there a size limit for HTTP response headers on
- appcfg.py command not found
- cannot find module /srv/server.js - gcloud app eng
- Google app engine datastore string encoding proble
- Angular route not working when used with Google Ap
- Doctrine not finding data on Google App Engine?
- Using OkHttp client via OKClient on Google App Eng
- Google appEngine: 404 when accessing /_ah/api [dup
The usage of
gcloud preview app deploy
changed in our gcloud 2015.04.14 release, you now have to specify the .yaml file for your module as well as--project projectID
. The documentation should be updated shortly.For Java, we've released an updated maven plugin. In your pom.xml, please add the following:
<plugin> <groupId>com.google.appengine</groupId> <artifactId>gcloud-maven-plugin</artifactId> <version>0.9.57.v20150425</version> <configuration> <gcloud_project>XXX</gcloud_project> </configuration> </plugin>
mvn gcloud:deploy
Update to a specific version of the SDK
You have some version of the SDK, but you want to change to a specific non-latest version, add the property:
$
gcloud config set --scope=installation component_manager/fixed_sdk_version 0.9.55
Then run:
$
gcloud components update
Returning to the current version of the SDK
$
gcloud config unset --scope=installation component_manager/fixed_sdk_version
Then run:
$
gcloud components update