org.springframework.web.client.RestClientException: Could not write request: no suitable HttpMessageConverter found for request type [*.model.Ticket] and content type [application/x-java-serialized-object]

Stack Overflow | Michael Hegner | 10 months 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

    Spring-Integration: int-http:outbound-channel-adapter using json

    Stack Overflow | 10 months ago | Michael Hegner
    org.springframework.web.client.RestClientException: Could not write request: no suitable HttpMessageConverter found for request type [*.model.Ticket] and content type [application/x-java-serialized-object]
  2. 0

    Could not extract response: no suitable HttpMessageConverter found for response type

    Stack Overflow | 3 years ago | Anish Lodhi
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.mycompany.MyChannel.model.FFSampleResponseHttp] and content type [text/plain;charset=UTF-8]
  3. 0

    Adding Post Parameter in Spring-Integration outbound-gateway

    Stack Overflow | 1 year ago | Himalay Majumdar
    org.springframework.web.client.RestClientException: Could not write request: no suitable HttpMessageConverter found for request type [java.util.HashMap] and content type [application/json]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SpringTemplate no suitable HttpMessageConverter found for response type

    Stack Overflow | 2 years ago | Gleeb
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [tripadvisor.TripAdvisorResponse<java.util.List<model.external.tripadvisor.TripAdvisorLocation>>] and content type [text/javascript;charset=utf-8]
  6. 0

    Spring Integration http:outbound-gateway "no suitable HttpMessageConverter"

    Stack Overflow | 2 years ago | Sean Connolly
    org.springframework.web.client.RestClientException: Could not write request: no suitable HttpMessageConverter found for request type [com.company.FileRecord] and content type [application/x-java-serialized-object]

  1. Axelo 4 times, last 4 weeks ago
  2. Hronom 5 times, last 3 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.web.client.RestClientException

    Could not write request: no suitable HttpMessageConverter found for request type [*.model.Ticket] and content type [application/x-java-serialized-object]

    at org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest()
  2. Spring
    RestTemplate.exchange
    1. org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest(RestTemplate.java:810)
    2. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:594)
    3. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:572)
    4. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:493)
    4 frames
  3. org.springframework.integration
    HttpRequestExecutingMessageHandler.handleRequestMessage
    1. org.springframework.integration.http.outbound.HttpRequestExecutingMessageHandler.handleRequestMessage(HttpRequestExecutingMessageHandler.java:382)
    1 frame