У меня была обновленная версия Spring Boot до 3.4.1. Я также использую Spring-Cloud-Contract-Wiremock и httpclient5. У меня эта конфигурация RestClient. < /P>
ClientHttpRequestFactory factory = new BufferingClientHttpRequestFactory(requestFactory);
return RestClient.builder().requestFactory(factory)
.requestInterceptors(interceptors -> interceptors.addAll(
List.of(new ClientHttpRequestInterceptor(),
new RequestResponseLoggingInterceptor())))
.build();
< /code>
При запуске прикладных тестов я получаю это: < /p>
, вызванное: org.springframework.beans.beaninstantiationexception: не удалось создать [org.springframework.boot.http.client.clienth 'clienthttprequestfactorybuilder' бросил исключение с сообщением: org/apache/hc/client5/http/ssl/tlssocketstrategy
Подробнее здесь: https://stackoverflow.com/questions/793 ... requestfac