Hello, Maybe one of you can help me, We are updating our jar from
<reactor-netty-http.version>1.0.36</reactor-netty-http.version> To <reactor-netty-http.version>1.1.21</reactor-netty-http.version> But we are having the following issue I cant seem to resolve. Caused by: java.lang.NoSuchMethodError: 'io.netty.resolver.dns.DnsNameResolverBuilder io.netty.resolver.dns.DnsNameResolverBuilder.socketChannelFactory(io.netty.channel.ChannelFactory, boolean)' I tried to update the dns, but either I did the wrong one or its just not working [cid:[email protected]] The WebClient HttpClient httpClient = HttpClient.create().wiretap("reactor.netty.http.client.HttpClient", LogLevel.DEBUG, AdvancedByteBufFormat.TEXTUAL).secure(sslSpec -> sslSpec.sslContext(sslContext)).option(ChannelOption.SO_KEEPALIVE, true) .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, connectionTimeout * 1000) .option(EpollChannelOption.TCP_KEEPIDLE, keepIdleTime) .option(EpollChannelOption.TCP_KEEPINTVL, keepInterval).option(EpollChannelOption.TCP_KEEPCNT, keepCnt) .doOnConnected(connection -> connection.addHandlerLast(new ReadTimeoutHandler(readTimeout)) .addHandlerLast(new WriteTimeoutHandler(writeTimeout))); webClient = WebClient.builder().clientConnector(new ReactorClientHttpConnector(httpClient)) .exchangeStrategies(objMapper()) .build(); The Repository return webClient.getWebClient().post().uri(XXXXXXXXXXXXX).headers(headers -> { headers.add(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_FORM_URLENCODED_VALUE); headers.add("EnterpriseBusCorrelationId", util.newUUID()); }).contentType(APPLICATION_JSON).bodyValue(vl).retrieve() .onStatus(org.springframework.http.HttpStatus::is4xxClientError, response -> { throw new ResponseStatusException(HttpStatus.BAD_REQUEST); }).onStatus(org.springframework.http.HttpStatus::is5xxServerError, response -> { throw new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR); }).bodyToMono(AMSVinLookup.class); Do you know the appropriate fix? Thanks, Mike Mike Peloso OS:IT:AD:C:AMS:AMD 240.613.5869 Work 732.581.0901 Cell There is no Cloud, its just someone else's computer -- You received this message because you are subscribed to the Google Groups "Netty discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/netty/BY5PR09MB5619BA5927CB384FDAC6124681362%40BY5PR09MB5619.namprd09.prod.outlook.com.
