Google App Engine: Downloading Source: Could not find or load main class com.google.appengine.tools.admin.AppCfg

独自空忆成欢 提交于 2019-12-12 18:12:35

问题


I'm an owner on a project and I would like to pull down the war on GAE. Through Cygwin, when I try to do this:

./appengine-java-sdk/bin/appcfg.sh download_app -A sampleapp -V

I get the following error: Error: Could not find or load main class com.google.appengine.tools.admin.AppCfg

I suspect that this might be because I am behind a corporate firewall, but I have already configured my cygwin to reroute through a proxy.

Does anyone have other suggestions as to what might be the cause?


回答1:


This worked out for me.

sh appcfg.sh vacuum_indexes /ProjectPath/war

I could see in lot of document that the appcfg.cmd should be used but that didn't work but the above one looked good.



来源:https://stackoverflow.com/questions/12463284/google-app-engine-downloading-source-could-not-find-or-load-main-class-com-goo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!