javax.ws.rs.WebApplicationException

com.sun.jersey.api.MessageException: A message body writer for Java class com.sun.proxy.$Proxy553, and Java type interface javax.servlet.http.HttpServletResponse, and MIME media type application/octet-stream was not found.

Solutions on the web168

  • via Stack Overflow by AJJ
    , 1 year ago
    com.sun.jersey.api.MessageException: A message body writer for Java class com.sun.proxy.$Proxy553, and Java type interface javax.servlet.http.HttpServletResponse, and MIME media type application/octet-stream was not found.
  • com.sun.jersey.api.MessageException: A message body writer for Java class [Lcom.bean.Area;, and Java type class [Lcom.bean.Area;, and MIME media type application/octet-stream was not found
  • com.sun.jersey.api.MessageException: A message body writer for Java class net.bull.javamelody.CounterResponseStream, and Java type class net.bull.javamelody.CounterResponseStream, and MIME media type application/octet-stream was not found.
  • Stack trace

    • javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class com.sun.proxy.$Proxy553, and Java type interface javax.servlet.http.HttpServletResponse, and MIME media type application/octet-stream was not found. at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:284) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)

    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

    Unknown user
    Once, 1 year ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 month ago