我正在使用SpringWebClient来调用rest服务。post调用的代码如下所述。group main failed with an uncaught exception
reactor.core.Exceptions$ErrorCallbackNotImplemented: reactor.netty.internal.shaded.reactor.pool.PoolAcquireTimeoutExceptionPool#acquire(Duration) has been pending for more than the c
我有一个带有private final WebClientwebClient的控制器类。虽然其余的私有最终字段可以使用Lombok提供的@RequiredArgsConstructor初始化。Spring流量WebClient对象似乎只能像这样初始化:this.webClient = WebClientBuilder.build(),因此lombok生成的构造函数无法工作。private final SomeConfig someConfig;
private final SomeOtherCon
我有一个独立的Spring引导应用程序,并且希望使用Spring的WebClient来发出请求。但不知何故,WebClient并没有提出这些请求。不过,我可以使用RestTemaplate发出请求。我是不是遗漏了什么,或者WebClient不能用于独立的项目?final RestTemplate restTemplate = new RestTemplate();
// Able to make requests in standalone spring</em