我在我的应用程序中使用Spring,并且我试图使用Proguard混淆/优化/收缩。我在运行时得到了以下异常:
原因: org.springframework.web.client.RestClientException:无法编写请求:没有为请求类型找到合适的HttpMessageConverterRestTemplate.java:449) at org.springframework.web.client.RestTempla
当我通过Rest Api发送请求时,结果是"error": "file content is not in the appropriate formatRestTemplate restTemplate = new RestTemplate(new HttpComponentsClientHttpRequestFactory());
MappingJackson2HttpMessageConverterconverter