2 Replies Latest reply on Mar 13, 2009 4:15 PM by Pragun Mehta

    Seam-RESTEasy sample

    Chua Khoon Yong Novice

      hi any1,

      Would appreciate advice on how to get a simple RESTEasy to work for beginners.  I tried to follow the instructions on Chapter 24.4.1 of Seam 2.1.1 reference manual to setup a simple RESTEasy sample.

      I use the seam booking example to add the RESTEasy sample and encountered this error when i use the GET request via:


      The error i got is:

      The requested resource (/seam/resource/rest/customer/123) is not available.

      public class MyCustomerResource {
      public String getCustomer(@PathParam("customerId") int id) {
      return "hello";

      Thank you.