javax.ws.rs.WebApplicationException

com.sun.jersey.api.MessageException: A message body writer for Java class com.alpha.vconf.model.Reunion_$$_javassist_3, and Java type class com.alpha.vconf.model.Reunion, and MIME media type application/xml was not found


Solutions on the web169

Solution icon of web
via mkyong.com by Unknown author, 6 months ago
com.sun.jersey.api.MessageException: A message body writer for Java class com.alpha.vconf.model.Reunion_$$_javassist_3, and Java type class com.alpha.vconf.model.Reunion, and MIME media type application/xml was not found

Solution icon of stackoverflow
via Stack Overflow by dnsko
, 2 weeks ago
com.sun.jersey.api.MessageException: A message body writer for Java class models.Student, and Java type class models.Student, and MIME media type application/xml was not found

Solution icon of stackoverflow
com.sun.jersey.api.MessageException: A message body writer for Java class com.test.TestRest, and Java type class com.test.TestRest, and MIME media type application/xml was not found

Solution icon of web
com.sun.jersey.api.MessageException: A message body writer for Java class com.test.ws.stub.TestResponseObject, and Java type class com.test.ws.stub.TestResponseObject, and MIME media type application/xml was not found

Solution icon of github
via GitHub by Morijarti
, 9 months ago
com.sun.jersey.api.MessageException: A message body writer for Java class java.lang.String, and Java type class java.lang.String, and MIME media type application/xml was not found

Solution icon of stackoverflow
com.sun.jersey.api.MessageException: A message body writer for Java class com.astroved.intellix.resource.DnaReportResource, and Java type class com.astroved.intellix.resource.DnaReportResource, and MIME media type application/xml was not found

Solution icon of stackoverflow
via Stack Overflow by flyer
, 1 year ago
com.sun.jersey.api.MessageException: A message body writer for Java class java.io.ByteArrayInputStream, and Java type class java.io.ByteArrayInputStream, and MIME media type application/xml was not found

Solution icon of stackoverflow
com.sun.jersey.api.MessageException: A message body writer for Java class com.gxt.ui.client.model.ListItems, and Java type class com.gxt.ui.client.model.ListItems, and MIME media type application/xml was not found

Solution icon of stackoverflow
via Stack Overflow by Joseph
, 1 year ago
com.sun.jersey.api.MessageException: A message body writer for Java class com.sun.jersey.server.wadl.ApplicationDescription, and Java type class com.sun.jersey.server.wadl.ApplicationDescription, and MIME media type application/xml was not found

Solution icon of googlegroups
via Google Groups by Nicholas Stuart, 2 days ago
com.sun.jersey.api.MessageException: A message body writer for Java class java.util.HashSet, and Java type class java.util.HashSet, and MIME media type application/json was not found

Stack trace

  • javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class com.alpha.vconf.model.Reunion_$$_javassist_3, and Java type class com.alpha.vconf.model.Reunion, and MIME media type application/xml was not found at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:285) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: com.sun.jersey.api.MessageException: A message body writer for Java class com.alpha.vconf.model.Reunion_$$_javassist_3, and Java type class com.alpha.vconf.model.Reunion, and MIME media type application/xml was not found ... 20 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago