简体   繁体   English

通过Eclipse插件远程部署到GAE时更新分派错误

[英]Update depatch error while remote deployment to GAE via Eclipse plugin

I'm using Google Plugin for Eclipse to deploy my app to GAE. 我正在使用Google Eclipse插件将我的应用程序部署到GAE。

During "Deploy to Remote Server", console show me below error 在“部署到远程服务器”期间,控制台向我显示以下错误

95% Closing update: new version is ready to start serving. 95%正在关闭更新:新版本已准备好开始投放。
98% Uploading index definitions. 98%正在上载索引定义。
99% Skipping dispatch.xml - consider running "appcfg.sh update_dispatch " or using the "--auto_update_dispatch" option 99%正在跳过dispatch.xml-考虑运行“ appcfg.sh update_dispatch”或使用“ --auto_update_dispatch”选项

Update for module default completed successfully. 模块默认更新已成功完成。

I tried run the command from GAE SDK (appcfg.cmd update...) from console, it is success. 我尝试从控制台从GAE SDK(appcfg.cmd更新...)运行命令,成功了。 But deployment via Eclipse still having same error. 但是通过Eclipse进行部署仍然存在相同的错误。

So alternative is to use "--auto_update_dispatch" option, may I know how can I enter that parameter in Eclipse? 因此,替代方法是使用“ --auto_update_dispatch”选项,我是否知道如何在Eclipse中输入该参数?

在此处输入图片说明

dispatch.xml should be in the default module under WEB-INF, mvn command won't update it so you have to do it manually via update_dispatch dispatch.xml应该在WEB-INF下的默认模块中,mvn命令不会更新它,因此您必须通过update_dispatch手动进行操作

other useful link 其他有用的链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM