This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sep 26, 2012 5:35:59 PM com.sun.jersey.spi.container.ContainerResponse write | |
SEVERE: A message body writer for Java class com.acme.server.webservice. | |
representation.RootRepresentation, and Java type class com.acme.server.w | |
ebservice.representation.RootRepresentation, and MIME media type application/jso | |
n was not found | |
Sep 26, 2012 5:35:59 PM com.sun.jersey.spi.container.ContainerResponse write | |
SEVERE: The registered message body writers compatible with the MIME media type | |
are: | |
*/* -> | |
com.sun.jersey.server.impl.template.ViewableMessageBodyWriter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scratch; | |
import javax.ws.rs.Consumes; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.POST; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import org.atmosphere.annotation.Broadcast; | |
import org.atmosphere.annotation.Suspend; |