Hi, You will be ok if you add not only 1 single gae jar (appengine-tools- api.jar) but all those (about 2) appearing in the GAE sdk library on Eclipse when you create a new project + those needed to run locally.
The simplest way for you is to follow he hints given in http://code.google.com/appengine/docs/java/tools/ant.html regards didier On Mar 18, 8:55 pm, Benjamin Muschko <[email protected]> wrote: > Hi, > > I have a question about the runtime classpath that is being used when > starting up a local development server. It is required to set > appengine-tools-api.jar in the classpath a parameter. My application > directory "web_app_dir" does not include some of the libraries that > are required at runtime (see below someother.jar); they sit in a > different directory. I tried to add them using the -cp parameter but > they don't seem to get evaluated. I get a > java.lang.NoClassDefFoundError. This is the call I make: > > java -cp /home/ben/dev/tools/appengine-java-sdk-1.4.2/lib/appengine- > tools-api.jar:/home/ben/dev/someother.jar > com.google.appengine.tools.KickStart > com.google.appengine.tools.development.DevAppServerMain web_app_dir > > Can somebody please shed some light on this? Are only the libraries > used that sit in web_app_dir/WEB-INF/lib? Is there any way I can add > additional libraries using an parameter? > > Thanks, > > Ben -- 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.
