Frage

When I tried to execute the "FirstResource" Example :

http://restlet.org/learn/2.0/firstResource

I have an error in this line caused by getIdentifier():

itemResource = new ClientResource(r.getIdentifier());

How can I resolve this error?

Thanks for your help.

War es hilfreich?

Lösung

I think this method has been replaced by Representation#getLocationRef

Andere Tipps

there're some changes between restlet2.1.2 and restlet2.0.*, you can read the example in your install path\src\org.restlet.example package, then you will find the changed points between the two editions!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top