org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation

  1. 0

    spring content negotiating force Mime-type in error case

    Stack Overflow | 5 months ago | Volker Hochstein
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
  2. 0

    How to create XML output from ModelAndView in spring?

    Stack Overflow | 1 year ago | membersound
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
  3. 0

    [BUG] Exception quand je clique sur la modification d'un Parcours

    GitHub | 11 months ago | acrepet
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to avoid HttpMediaTypeNotAcceptableException with Spring SseEmitter on timeout

    Stack Overflow | 7 months ago | Leif John
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
  6. 0

    Could not send response error 500: org.springframework.web.HttpMediaTypeNotAcceptableException

    Stack Overflow | 1 week ago | Kihats
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation

  1. wendellpereira 48 times, last 2 months ago
  2. Malcshour 3 times, last 6 months ago
  3. qavid 1 times, last 6 months ago
2 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.HttpMediaTypeNotAcceptableException

    Could not find acceptable representation

    at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters()
  2. Spring MVC
    HttpEntityMethodProcessor.handleReturnValue
    1. org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:134)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    2. org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:144)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    2 frames
  3. Spring
    HandlerMethodReturnValueHandlerComposite.handleReturnValue
    1. org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:71)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    1 frame
  4. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:126)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    2. org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:362)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    3. org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:60)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    4. org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:138)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    5. org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1167)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    6. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1004)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    7. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    8. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    9. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    10. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    10 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[servlet-api.jar:na]
    1 frame
  6. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    1 frame