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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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