org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'text/xml;charset=UTF-8' not supported

Spring JIRA | Abhishek Dutta | 6 years ago
  1. 0

    MAVEN+SPRING+MYBATIS整合常见问题 - CSDN博客

    csdn.net | 1 year ago
    org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/json;charset=UTF-8' not supported
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    MAVEN+SPRING+MYBATIS整合常见问题 - 程序@人生 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/json;charset=UTF-8' not supported
  4. 0

    Spring 3 & Rest: Exception thrown behind the scences

    Stack Overflow | 5 years ago | Collin Peters
    org.springframework.web.HttpMediaTypeNotSupportedException: Cannot extract parameter (UserDTO userDTO): no Content-Type found

  1. linxiaolong 2 times, last 2 months ago
  2. kid 2 times, last 6 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.web.HttpMediaTypeNotSupportedException

    Content type 'text/xml;charset=UTF-8' not supported

    at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.readWithMessageConverters()
  2. Spring
    HandlerMethodInvoker.invokeHandlerMethod
    1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.readWithMessageConverters(HandlerMethodInvoker.java:636)
    2. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveRequestBody(HandlerMethodInvoker.java:596)
    3. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:345)
    4. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:170)
    4 frames
  3. Spring MVC
    AnnotationMethodHandlerAdapter.handle
    1. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:421)
    2. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:409)
    2 frames