Error starting simple app engine project

I'm new to the Google App Engine, and I tried to create a test project on Ubuntu 11.04 after this quick tutorial http://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=relmfu and I have this error when I click " debug> web application "


A new version of the SDK is available.

Latest SDK: Release: 1.6.2 Signature: Tue Jan 03 19:15:38 CET 2012 API Options: [1.0]


Your SDK: Issue: 1.6.1 Saturday: Mon Dec 12 23:53:13 CET 2011 API Options: [1.0]


Please visit http://code.google.com/appengine for the latest SDK.


java.lang.RuntimeException: Unable to restore the previous TimeZone at com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:228) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:164) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.<init> (DevAppServerMain.java:113) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89) Caused by: java.lang.NoSuchFieldException: defaultZoneTL at java.lang.Class.getDeclaredField(Class.java:1899) at com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:222) ... 5 more 

Can anyone determine where the problem is? I also had problems trying to create a GWT application and a Python App Engine project.

+4
source share
2 answers

Possible duplicate: DevServer crashes after upgrading to java 6u31

However, this problem is apparently documented (with a solution) here: http://code.google.com/p/googleappengine/issues/detail?id=6928

From the site:

Workaround - Run GAE with the following JVM parameter:
-Dappengine.user.timezone = UTC

(use eclipse to go to "run configuration", on the "Arguments" tab add "-Dappengine.user.timezone = UTC" to the VM argument string. Using maven-gae-plugin add -Dappengine.user. timezone = UTC to the configuration plugin). Good luck, and hopefully Google will soon support the JDK u31.

+9
source

In this article, my problem with GWT was resolved: The fix failed to restore the previous time Zone to GWT .

+1
source

Source: https://habr.com/ru/post/1398774/


All Articles