org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [interface java.util.Map] and content type [text/plain;charset=UTF-8]

issuehub.io | 6 months 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.
  1. 0

    Exception writing metrics to atlas

    GitHub | 1 year ago | andysworkshop
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [interface java.util.Map] and content type [text/plain;charset=UTF-8]
  2. 0

    issuehub.io

    issuehub.io | 6 months ago
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [interface java.util.Map] and content type [text/plain;charset=UTF-8]
  3. 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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Springs RestTemplate doesn't find the right MessageConverter when reciving data from the IMDB api

    Stack Overflow | 4 years ago
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [interface javax.xml.transform.Source] and content type [application/octet-stream]
  6. 0

    image from httpresponse to bitmap with Spring

    Stack Overflow | 4 years ago | Jasper
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [android.graphics.Bitmap] and content type [image/jpg;charset=utf-8] 03-13 22:54:36.106: W/System.err(26547): at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:79)

  1. Hronom 5 times, last 1 month 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 extract response: no suitable HttpMessageConverter found for response type [interface java.util.Map] and content type [text/plain;charset=UTF-8]

    at org.springframework.web.client.HttpMessageConverterExtractor.extractData()
  2. Spring
    RestTemplate.exchange
    1. org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:109)[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    2. org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:835)[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    3. org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:819)[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    4. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:599)[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    5. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557)[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    6. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:475)[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    6 frames
  3. org.springframework.cloud
    AtlasExporter.export
    1. org.springframework.cloud.netflix.metrics.atlas.AtlasMetricObserver.sendMetricsBatch(AtlasMetricObserver.java:148)[spring-cloud-netflix-core-1.1.0.M4.jar!/:1.1.0.M4]
    2. org.springframework.cloud.netflix.metrics.atlas.AtlasMetricObserver.update(AtlasMetricObserver.java:126)[spring-cloud-netflix-core-1.1.0.M4.jar!/:1.1.0.M4]
    3. org.springframework.cloud.netflix.metrics.atlas.AtlasExporter.export(AtlasExporter.java:35)[spring-cloud-netflix-core-1.1.0.M4.jar!/:1.1.0.M4]
    3 frames
  4. Spring Boot Actuator
    MetricExporters$ExportRunner.run
    1. org.springframework.boot.actuate.metrics.export.MetricExporters$ExportRunner.run(MetricExporters.java:112)[spring-boot-actuator-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    1 frame
  5. Spring Context
    DelegatingErrorHandlingRunnable.run
    1. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_66]
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[na:1.8.0_66]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_66]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[na:1.8.0_66]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66]
    7. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]
    7 frames