org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: com.googlecode.htmleasy.View of media type: application/xml

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by GoogleCodeExporter
, 10 months ago
Could not find MessageBodyWriter for response object of type: com.googlecode.htmleasy.View of media type: application/xml
via jboss.org by Unknown author, 1 year ago
Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: application/xml
via redhat.com by Unknown author, 1 year ago
Could not find MessageBodyWriter for response object of type: test.Customer of media type: application/xml
via sinaapp.com by Unknown author, 2 years ago
Could not find MessageBodyWriter for response object of type: org.jboss.resteasy.examples.data.BookListing of media type: application/json
via foogaro.com by Unknown author, 1 year ago
Could not find MessageBodyWriter for response object of type: class com.foogaro.resteasy.model.DataWrapper of media type: application/json
via Stack Overflow by user2913892
, 10 months ago
Could not find MessageBodyWriter for response object of type: vsample.Image of media type: image/jpeg
org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: com.googlecode.htmleasy.View of media type: application/xml
at org.jboss.resteasy.core.ServerResponse.writeTo(ServerResponse.java:167)
at org.jboss.resteasy.core.SynchronousDispatcher.writeJaxrsResponse(SynchronousDispatcher.java:403)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:340)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:103)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.googlecode.htmleasy.ResteasyFilter.doFilter(ResteasyFilter.java:375)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
12 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.