Google App Engine:下​​载来源:无法找到或加载主类com.google.appengine.tools.admin.AppCfg [英] Google App Engine: Downloading Source: Could not find or load main class com.google.appengine.tools.admin.AppCfg

查看:240
本文介绍了Google App Engine:下​​载来源:无法找到或加载主类com.google.appengine.tools.admin.AppCfg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个项目的所有者,我想拉开GAE的战争。通过Cygwin,当我尝试这样做:



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



我收到以下错误:
错误:找不到或加载主类com.google.appengine.tools.admin.AppCfg


$ b $我怀疑这可能是因为我在公司防火墙后面,但是我已经配置了我的cygwin来重新路由一个代理。



有没有人有其他的

解决方案

这是为我而设计的。

  sh appcfg.sh vacuum_indexes / ProjectPath / war 

我可以在很多文档中看到应该使用appcfg.cmd,但是没有工作,但上面的一个看起来不错。


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?

解决方案

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.

这篇关于Google App Engine:下​​载来源:无法找到或加载主类com.google.appengine.tools.admin.AppCfg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆