运行Spring Cloud Eureka Client时出现问题

时间:2019-06-25 06:49:52

标签: websphere spring-cloud netflix-eureka

我是Spring Cloud和Websphere的新手。我正在尝试在WebSphere中安装Spring cloud Eureka Client并获得

org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class org.springframework.cloud.netflix.eureka.http.EurekaApplications] and content type [text/html]
    at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:110) ~[spring-web-4.3.19.RELEASE.jar:4.3.19.RELEASE]
    at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:932) ~[spring-web-4.3.19.RELEASE.jar:4.3.19.RELEASE]
    at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:916) ~[spring-web-4.3.19.RELEASE.jar:4.3.19.RELEASE]

0 个答案:

没有答案