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
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.

    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