我觉得app engine 挺好的,谁都是这么觉得的。
完全按照tutorial写的一个程序 一个股票动态列表,暂且这么说吧。
新建一个project 然后运行下先,然后shit, 一上来就遇到错误:”Unable to restore the previous TimeZone“
还好一个叼人如是说:
See this bug report. For me, it was fixed by downgrading the JDK from 1.7.0_03 -> 1.7.0_02. Other things that have been purported to work are adding -Dappengine.user.timezone=UTC
(or in some cases -Dappengine.user.timezone.impl=UTC
) to the JVM flags.
这个bug report 地址:https://code.google.com/p/googleappengine/issues/detail?id=6928
直接在project 的参数行里面加上:“-Dappengine.user.timezone.impl=UTC”
没有错,就是在 右键项目->run as -> run configurations -> arguments->VM arguments 最后面加上。