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

ibm.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    ibm.com | 9 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