check your gae settings in the ant build file!
Good luck!
This is my gae set:
#GAE setting
gae.sdk.dir=/prog/eclipse/gae/eclipse/plugins/com.google.appengine.eclipse.sdkbundle.1.3.0_1.3.0.v200912141120/appengine-java-sdk-1.3.0
<import file="${gae.sdk.dir}/config/user/ant-macros.xml" />
<path id="gae.project.classpath">
<pathelement path="war/WEB-INF/classes" />
<fileset dir="war/WEB-INF/lib">
<include name="**/*.jar" />
</fileset>
<fileset dir="${gae.sdk.dir}/lib">
<include name="shared/**/*.jar" />
</fileset>
</path>
2010/1/30 Andreas Blomqvist <[email protected]>
> Hi
>
> I get this error when I try and deply to GAE.
>
> usage: dirname path
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/google/appengine/tools/admin/AppCfg
> Caused by: java.lang.ClassNotFoundException:
> com.google.appengine.tools.admin.AppCfg
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
>
> Just installed the 1.3 SDK, and then this error began. Any thoughts?
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.