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

Spring JIRA | Paulo Avelar | 5 years ago
  1. 0
  2. 0
  3. 0

    Spring-boot return json and xml from controllers

    Stack Overflow | 2 years ago | sonoerin
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Controller returns 406, HttpMediaTypeNotAcceptableException

    renren.io | 1 year ago
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
  6. 0

    Controller returns 406, HttpMediaTypeNotAcceptableException

    Stack Overflow | 2 years ago | Yogi
    org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation

    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.security.oauth2.provider.web.OAuth2ExceptionRenderer.writeWithMessageConverters()
    2. org.springframework.security
      OAuth2ExceptionHandlerFilter.doFilter
      1. org.springframework.security.oauth2.provider.web.OAuth2ExceptionRenderer.writeWithMessageConverters(OAuth2ExceptionRenderer.java:106)
      2. org.springframework.security.oauth2.provider.web.OAuth2ExceptionRenderer.handleHttpEntityResponse(OAuth2ExceptionRenderer.java:69)
      3. org.springframework.security.oauth2.provider.filter.OAuth2ExceptionHandlerFilter.doFilter(OAuth2ExceptionHandlerFilter.java:73)
      3 frames