org.springframework.integration.MessagingException: Could not convert reply: no suitable HttpMessageConverter found for type [org.springframework.http.HttpStatus] and accept types [[text/plain, */*]]

Spring JIRA | Oleg Zhurakousky | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. org.springframework.integration.MessagingException

      Could not convert reply: no suitable HttpMessageConverter found for type [org.springframework.http.HttpStatus] and accept types [[text/plain, */*]]

      at org.springframework.integration.http.inbound.HttpRequestHandlingMessagingGateway.writeResponse()
    2. org.springframework.integration
      HttpRequestHandlingMessagingGateway.handleRequest
      1. org.springframework.integration.http.inbound.HttpRequestHandlingMessagingGateway.writeResponse(HttpRequestHandlingMessagingGateway.java:130)
      2. org.springframework.integration.http.inbound.HttpRequestHandlingMessagingGateway.handleRequest(HttpRequestHandlingMessagingGateway.java:99)
      2 frames
    3. Spring
      HttpRequestHandlerServlet.service
      1. org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:67)
      1 frame