yahaosoft / apjp

Automatically exported from code.google.com/p/apjp
0 stars 0 forks source link

问题原因: 未安装Java,导致无法使用Google Java SDK的appcfg #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
F:\appengine-java-sdk-1.5.4\appengine-java-sdk-1.5.4\bin>appcfg update  E:\APJP\
APJP_REMOTE_APPENGINE\war\
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/appengine/
tools/admin/AppCfg
Caused by: java.lang.ClassNotFoundException: com.google.appengine.tools.admin.Ap
pCfg
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.google.appengine.tools.admin.AppCfg.  Program
 will exit.

Original issue reported on code.google.com by magpies5...@googlemail.com on 28 Oct 2011 at 8:35

GoogleCodeExporter commented 9 years ago
F:\appengine-java-sdk-1.5.5\appengine-java-sdk-1.5.4\bin>appcfg update  E:\APJP\
APJP_REMOTE_APPENGINE\war\
”appcfg;不是有效命令

Original comment by magpies5...@googlemail.com on 28 Oct 2011 at 8:41

GoogleCodeExporter commented 9 years ago
Wiki里面appengine-java-sdk的版本是1.5.4,你用的是appengine-java-sdk-1
.5.5,把相应的位置改一下就好的,有时间,我再更新Wiki哈。
学会适当的变通一下。

Original comment by goknmuse on 12 Nov 2011 at 4:33

GoogleCodeExporter commented 9 years ago
安装Java,将Java加入PATH。

Original comment by goknmuse on 31 Oct 2012 at 4:40