python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
java.lang.NoClassDefFoundError: Could not initialize class org.springframework.web.reactive.function.client.DefaultExchangeStrategiesBuilder
I am trying to use spring WebClient wc = WebClient.create(); in a non-Spring application, but it looks like DefaultExchangeStrategiesBuilder.DEFAULT_EXCHANGE_STRATEGIES returns null
causing error:
jav...
Amigma
Votes: 0
Answers: 1
Java Spring WebClient - send multiple http requests using requests one after another using HTTP2
Small question on how to send multiple requests using a Java Spring WebClient to a HTTP2 enabled server, leveraging HTTP2 as client please.
I have a Java List/Iterator of payloads I need to send one a...
PatPanda
Votes: 0
Answers: 0
Handle errors in WebClient with and without body
I have implemented the error handling in a filter that looks like this:
public Mono<ClientResponse> filter(ClientRequest request, ExchangeFunction next) {
URI url = request.url();
HttpMethod...
hotzst
Votes: 0
Answers: 1
With Spring WebClient, how do I deserialize different types for successful and failed responses?
tbjorch's answer led me down the right path, but one thing I discovered is I should construct the HTTP exceptions using the static .create methods for both HttpClientErrorException and HttpServerError...
Fam
Votes: 0
Answers: 2