The following method did not exist, reactor.netty.resources.ConnectionProvider$Builder...

Posted 漫话人生

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The following method did not exist, reactor.netty.resources.ConnectionProvider$Builder...相关的知识,希望对你有一定的参考价值。


看控制台给出的提示是因为某个方法不存在导致的。

解决方法:我的boot的版本是2.3.2.RELEASE,将gateway依赖中的reactor-netty版本升高即可

        <!--网关核心依赖-->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-gateway</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>io.projectreactor.netty</groupId>
                    <artifactId>reactor-netty</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>io.projectreactor.netty</groupId>
            <artifactId>reactor-netty</artifactId>
            <version>0.9.14.RELEASE</version>
        </dependency>

以上是关于The following method did not exist, reactor.netty.resources.ConnectionProvider$Builder...的主要内容,如果未能解决你的问题,请参考以下文章

spring-boot:The following method did not exist: com.google.gson.GsonBuilder.setLenient()

The following tasks did not complete: first Did you forget to signal async completion?

gulp4.0 存在的错误信息 The following tasks did not complete: default,Did you forget to signal async complet

[Vue warn]: Method “components“ has type “object“ in the component definition. Did you reference the

Use the following method printPrimes() for questions a-d (inside the textbook)

Use the following method printPrimes() for questions a-f below