定义Feign接口 @RequestMapping(produces = MediaType.APPLICATION_JSON_UTF8_VALUE, method = RequestMethod.GET, value = "/temp/test/data") String testData(@RequestParam("data") String data); 调用Feign接口 @GetMapping("/internal/test/data") public String testData(@RequestParam("data") String data){ return facadeFeignClient.testData(data); } 调用feign接口报错 Caused by: org.springframework.web.client.RestClientException: Error while extracting response for type [class java.lang.String] and content type [application/json