hi,

something went very wrong...

I try to connect to a restlet inside a Wicket application (if you don't 
know wicket: it is a web framework based on the Java Servlet API). I use 
HttpClientConnector to do so. There is a NoSuchMethodException (see below).
To me, it seems very odd, because Method existance should be checked on 
compile time, shouldn't it?
Are there any tips how to solve it? The problem appears with 2.1-M1, 
2.1-M2 and 2.1-SNAPSHOT of the ClientConnector. The other restlet 
dependencies are 2.1-SNAPSHOT. The application server (with the wicket 
application on it) is jetty. Server side the jetty connector is used.

Here is the error:

java.lang.NoSuchMethodError: 
org.restlet.ext.httpclient.HttpClientHelper.getConnectTimeout()I
     at 
org.restlet.ext.httpclient.HttpClientHelper.configure(HttpClientHelper.java:226)
     at 
org.restlet.ext.httpclient.HttpClientHelper.start(HttpClientHelper.java:453)
     at org.restlet.Client.start(Client.java:246)
     at org.restlet.Restlet.handle(Restlet.java:225)
     at org.restlet.Client.handle(Client.java:176)
     at org.restlet.resource.ClientResource.handle(ClientResource.java:941)
     at org.restlet.resource.ClientResource.handle(ClientResource.java:909)
     at 
org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1666)

best regards,
Alex

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

Reply via email to