问题
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