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


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

解决方法:我的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>