关于Gateway子moudle启动报错
来源:2-3 搭建路由模块-gateway

精慕门7428927
2020-04-29
问题:老师你好,我这跟这你的课程写的,版本号也是2.2.2一致。然后子模块eurake跟system都能正常启动。但是Gateway一启动就出现如下错误,我重新创建多次该moudle,然后也反复检查,未能解决
补充下bug提示信息:
org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyConfiguration.gatewayHttpClient(GatewayAutoConfiguration.java:612)
The following method did not exist:
reactor.netty.resources.ConnectionProvider.elastic(Ljava/lang/String;Ljava/time/Duration;Ljava/time/Duration;)Lreactor/netty/resources/ConnectionProvider;
The method’s class, reactor.netty.resources.ConnectionProvider, is available from the following locations:
jar:file:/E:/devTools/repo/io/projectreactor/netty/reactor-netty/0.9.2.RELEASE/reactor-netty-0.9.2.RELEASE.jar!/reactor/netty/resources/ConnectionProvider.class
It was loaded from the following location:
file:/E:/devTools/repo/io/projectreactor/netty/reactor-netty/0.9.2.RELEASE/reactor-netty-0.9.2.RELEASE.jar
写回答
2回答
-
慕九州3339786
2020-05-15
请问解决了吗,我也出现了同样的问题
012020-05-16 -
甲蛙
2020-04-29
检查下Spring Boot和Spring Cloud版本是否匹配,修改根目录下的父pom.xml
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.2.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> ... <properties> <java.version>1.8</java.version> <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version> </properties>
022020-05-16
相似问题