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

Spring JIRA | Paulo Avelar | 5 years 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
  2. 0

    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