javax.ws.rs.WebApplicationException: HTTP 415 Unsupported Media Type

ibm.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Rest upload does not work in leberty profile locally but works on bluemix - dWAnswers

    ibm.com | 6 months ago
    javax.ws.rs.WebApplicationException: HTTP 415 Unsupported Media Type

    Root Cause Analysis

    1. javax.ws.rs.WebApplicationException

      HTTP 415 Unsupported Media Type

      at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody()
    2. Apache CXF Runtime JAX-RS Frontend
      JAXRSUtils.processParameter
      1. org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1329)
      2. org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:847)
      2 frames