Hi!

I'm trying to access a restlet webservice (GAE) via GWT.
That's my code in the GWT module:

ClientResource cr = new ClientResource("/register");
cr.setOnResponse(new Uniform(){

  Do some handling
                                        
});
cr.post(new StringRepresentation(textToServer)); 

However, when cr.post gets invoked, it throws me this Exception:

java.lang.IncompatibleClassChangeError: Found interface 
java.util.concurrent.ConcurrentMap, but class was expected

I debugged into it and it gets thrown in the constructor of the Request class 
on line 270 when this is called:
request.getAttributes().entrySet()

getAttributes() hereby returns an empty ConcurrentMap and after that the 
Exception is thrown.
I don't know what im doing wrong. Im using the current Restlet gae-snapshot and 
GWT 2.3. Is there some incompatibility between those two or is this my fault?

Thanks in advance!
Sebastian

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2745795

Reply via email to