Hey Joe, This forum is not meant for specific-issue technical support, but for high level discussion of the platform and services, design patterns, behaviours, etc. This issue should have been posted to Stack Overflow <http://stackoverflow.com>, where there is a large community of helpful users. We monitor Stack Overflow as well, so you can also rest assured we are likely to see your post. Now, as to this specific issue, it seems clear from the error message that the version of Java on your system is 6, while 7 is what's required to compile and deploy in production <https://cloud.google.com/appengine/docs/java/runtimehttps://cloud.google.com/appengine/docs/java/runtime>, since as mentioned in the docs, the App Engine Java Standard Runtime is using Java 7.
So, you can check by running "java -version" at the command line, and if you don't see something like "java version "1.7.0_80"", you'll know to install Java 7 to proceed, which should take care of the error. Cheers, Nick Cloud Platform Community Support On Sunday, July 24, 2016 at 7:58:03 PM UTC-4, Joe Pardi wrote: > > I am receiving an error when trying to deploy using maven: > > mvn clean install --> works OK > mvn package --> works OK > mvn gcloud:deploy -Dgcloud.gcloud_project=hospital-1382 -Dgcloud.version=1 > > [INFO] Updating service [default]...failed. > [INFO] ERROR: (gcloud.preview.app.deploy) Error Response: [400] Java 6 > applications are prevented from being deployed to Google App Engine from > any version of the SDK, including older ones. If you need to continue to > deploy Java 6 applications for compatibilit > y reasons, you can request that your application be whitelisted for Java 6 > deployment by visiting http://goo.gl/ycffXq. > [ERROR] Error: gcloud app command with exit code : 1 > > My *app.yaml* and *pom.xml *are attached. > > Any help would be appreciated ... > > > - Joe > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/40967775-b16b-4377-8202-cf71d5f3a8fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
