3 Replies Latest reply on Feb 4, 2011 2:46 AM by mid491

    Jboss 5.1.0 GA jdk6 and restEasy




      why when I return a String or whatever single type it's working, but as soon as I try to return an array (or collection) I got this error ?


      [SynchronousDispatcher] Failed executing GET /categories/cat

      org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: [Ljava.lang.String; of media type: application/*+xml


      (here I try with a simple Stings array...)