Restlet : Requested resource not found -


i new rest, followed tutorial way mentioned here:

however, requested resource not found error when hit uri mentioned there, is, http://localhost:8080/restletdemo/service/helloworld

my build successful.

this first time posting question, apologies ambiguity. let me know if need more information.

it's difficult figure out problem that. have @ link , problem of provided code there lot of plumbing. things more simpler leveraging example bean converters (jackson 1 example).

however, didn't see strange in code. perhaps it's configuration problem within servlet container. example, when using tomcat wtp in eclipse, need check item "publish module contexts separate xml files" make things work.

i submitted simple restlet project targetting servlet , without these plumbing. made work under eclipse wtp 2 (tomcat7). can reach here:

https://github.com/templth/restlet-stackoverflow/tree/master/restlet/test-restlet-servlet

since use maven, use it, can :

  • mvn eclipse:eclipse , import eclipse. can create server (wtp) , add project
  • mvn package , deploy corresponding war servlet container (tomcat or else)

hope helps you, thierry


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -