Java App Engine:“appengine-web.xml不包含元素”消息

前端之家收集整理的这篇文章主要介绍了Java App Engine:“appengine-web.xml不包含元素”消息前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当我尝试在 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

原文链接:https://www.f2er.com/java/120905.html

猜你在找的Java相关文章