GWT 初始化服务器引擎报错 java.lang.RuntimeException: Unable to restore the previous TimeZone 解决方法

Initializing AppEngine server[ERROR] Unable to start AppEngine serverjava.lang.RuntimeException: Unable to restore the previous TimeZoneat com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:242)at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:180)at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:119)at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:500)at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1055)at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)at com.google.gwt.dev.DevMode.main(DevMode.java:309)Caused by: java.lang.NoSuchFieldException: defaultZoneTLat java.lang.Class.getDeclaredField(Unknown Source)at com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:236)... 6 moreUnable to start embedded HTTP servercom.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:124)at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:500)at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1055)at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)at com.google.gwt.dev.DevMode.main(DevMode.java:309)[ERROR] shell failed in doStartupServer method解决方法:在debug vm arguments里面加入:-Dappengine.user.timezone.impl=UTC或者:-Dappengine.user.timezone=UTC具体参考博客:

点击打开链接

ps:没事多爬爬谷歌,比百度强多了。

你可能感兴趣的:(GWT 初始化服务器引擎报错 java.lang.RuntimeException: Unable to restore the previous TimeZone 解决方法)