You can't put the remote api jar in your web app classpath. The Remote API 
is intended to use on a normal Java Application. All you need on your web 
app is to map a servlet that comes with the sdk on your web 
app<http://code.google.com/intl/en/appengine/docs/java/tools/remoteapi.html#Configuring_Remote_API_on_the_Server>,
 
and then create a separete client application to use the Remote API.

One option (that I'm using on a project) is to create a separate "source 
folder" in your Eclipse project, and then configure the build path to make 
the compiled classes go out of your web-app classpath, and to put the 
required libraries for your remote-api application on a separate lib folder, 
something like this:

src/ -> Your web-app source folder
remote/ -> Your remote-api source folder
lib/ -> The libraries you don't want to be on the web-app classpath. The 
test libraries and remote-api libraries, for example.
war/WEB-INF/lib -> The libraries that your app needs for runtime only (make 
sure they all are appengine-safe)

You can put your jars on those folders, and then add them to the build path.

Hope this helps!

Best regards,

-- 
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.

Reply via email to