Java 6 applications are prevented from being deployed to Google App Engine from any version of the SDK

StackOverflow https://stackoverflow.com/questions/22300795

  •  12-06-2023
  •  | 
  •  

質問

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.

役に立ちましたか?

解決

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

他のヒント

Create a new small Java 7 project that deploys and runs successfully. Copy your existing application content into the new project. Rename the old project to use it as an archive. Rename the new project to use the original project name and application id.

If you use Eclipse, check at Preferences>Java>Compiler. The JDK Compliance is (on my laptop) not updated to the version 1.7

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top