Hi Ian,
You need to upgrade the com.noelios.restlet dependencies to 1.1.1, too.
Rhett
On Dec 1, 2008, at 11:58 AM, Ian Clarke wrote:
Hi Thierry,
Just checked, the file com.noelios.restlet-1.0.11.jar is in my
classpath (put there by Maven).
com.noelios.restlet.ext.httpclient-1.0.11.jar is also there.
Not sure quite what you mean about the context, but here is the code
that seems to cause the error:
@BeforeClass
public void beforeClass() {
client = new Client(Protocol.HTTP);
client.getContext().getParameters().add(converter,
com.noelios.restlet.http.HttpClientConverter);
client.getContext().getParameters().add(connectionManagerTimeout,
100);
urlPrefix = http://127.0.0.1:; + LISTEN_PORT + /;
}
Hope that is helpful, let me know if there is anything else I can
tell you.
Ian.
On Mon, Dec 1, 2008 at 3:18 AM, Thierry Boileau
[EMAIL PROTECTED] wrote:
Hello Ian,
it looks the com.noelios.restlet.jar is not in the classpath. Can
you check
it?
Can you give more details about your context?
Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
Just upgraded to Restlet 1.1.1 (using Maven), and I'm seeing the
following error when I attempt to call a unit test that worked
previously, any ideas? :-
Caused by: java.lang.AbstractMethodError:
org.restlet.util.Engine.fireContextChanged(Lorg/restlet/
Restlet;Lorg/restlet/Context;)V
at org.restlet.Restlet.init(Restlet.java:90)
at org.restlet.Connector.init(Connector.java:83)
at org.restlet.Client.init(Client.java:82)
at org.restlet.Client.init(Client.java:101)
at org.restlet.Client.init(Client.java:121)
--
Ian Clarke
CEO, Uprizer Labs
Email: [EMAIL PROTECTED]
Ph: +1 512 422 3588
Fax: +1 512 276 6674