users@glassfish.java.net

javaee6 tutorial examples -- how to fix 1 example

From: emiddio-verizon <emiddio_at_verizon.net>
Date: Sun, 21 Feb 2010 23:11:23 -0800

following error
SEVERE: A message body writer for Java type, class
com.sun.rest.RESTGreeting, and MIME media type, text/html, was not found
SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException
         at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:268)

Browsing: http://localhost:8080/HelloWorld3/helloGreeting


this is example javaee-tutorial/examples/jaxrs/HelloWorld3

built/deployed with netbeans 6.9dev

gary