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

Spring JIRA | Paulo Avelar | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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