当我尝试在
Eclipse中运行Google Web应用程序时,我发现appengine-web.xml不包含< threadsafe>元素和应用程序没有运行(好的,任何新的应用程序仍然没有).这不难解决(我刚刚在appengine-web.xml文件中添加了一个真正的值),但是我以前没有收到这个错误.什么可能是这样一个意想不到的行为的原因?提前致谢.
解决方法
Google在1.6.4的发行说明中宣布了这一点,并在最新版本中强制执行.
Omitting the
<threadsafe>
directive from appengine-web.xml now results
in a warning. Starting with the 1.6.5 release,omitting this directive
will result in an error.
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes