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]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web99

  • via Unknown by Unknown author,
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Михайло ТітовМихайло Тітов
    AxeloAxelo
    8 times, last one
    HronomHronom
    5 times, last one
    Unknown visitor
    Unknown visitorOnce,
    22 more bugmates