[英]unable to deploy the application on google app engine : appengine-web.xml does not contain a <threadsafe> element
[英]Java App Engine: “appengine-web.xml does not contain a <threadsafe> element” message
當我嘗試在Eclipse中運行Google Web應用程序時,我得到appengine-web.xml does not contain a <threadsafe> element
,並且應用程序沒有運行(好吧,任何新應用程序仍然沒有)。 修復起來並不難(我只是在appengine-web.xml
文件中添加了帶有true
值的元素),但之前我沒有收到此錯誤。 這種意外行為的原因是什么? 提前致謝。
谷歌在1.6.4的發行說明中宣布了這一點,並在最新版本中強制執行。
從appengine-web.xml中省略
<threadsafe>
指令現在會發出警告。 從1.6.5版本開始,省略此指令將導致錯誤。
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.