RuntimeException:无法恢复以前的TimeZone

时间:2014-03-26 17:30:48

标签: java google-app-engine

当我运行我的GAE应用程序时,它会抛出此错误:

  

java.lang.RuntimeException:无法恢复以前的TimeZone     在   com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:348)     在   com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:251)     在   com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)     在com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)at   com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)at at   com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)at at   com.google.gwt.dev.DevMode.main(DevMode.java:311)引起:   java.lang.NoSuchMethodException:   java.util.TimeZone.setDefaultInAppContext(java.util.TimeZone)at   java.lang.Class.getDeclaredMethod(Class.java:2117)at   com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:344)     在   com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:251)     在   com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)     在com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)at   com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)at at   com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)at at   com.google.gwt.dev.DevMode.main(DevMode.java:311)

该应用程序是Oracle的JDK 1.8.0,如何修复此错误?

0 个答案:

没有答案