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