When i tried to deploy the Java 6 application in App engine. I got error like
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 compatibility reasons, you can request that your application be
whitelisted for Java 6 deployment by visiting link.
Then i changed java version 1.7 in project settings. Even after, app engine deployment throw same error.
How to fix this issue.
Deploy your application to App Engine using the gcloud app deploy command. This command automatically builds a container image by using the Cloud Build service and then deploys that image to the App Engine flexible environment.
Java on Google App Engine. App Engine offers you a choice between two environments for Java applications: standard environment and flexible environment. Both environments have the same code-centric developer workflow, scale quickly and efficiently to handle increasing demand, and enable you to use Google’s proven serving technology to build your...
Most cost-effective for applications that serve traffic continuously. You can run an App Engine application in two environments, the standard environment and the flexible environment. See a summary of differences between the two environments.
Most cost-effective for applications that have significant periods where they are not serving traffic. OpenJDK based Java runtime supports the standard public Java library. Doesn't impose a security manager--your code won't be restricted by Java permissions issues.
I finally fix this issue by installing Eclipse 4.3 Kepler
and App Engine SDK 1.9.2.
Install Latest Eclipse 4.3
https://www.eclipse.org/downloads/
Install Latest Google Eclipse Plugin
https://developers.google.com/eclipse/docs/getting_started
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With