spring-cloud-gateway: NoSuchMethodError using gateway 2.1.0.M1 with boot 2.1.0.M4

Hi,

using Spring Cloud Gateway 2.1.0.M1 with gives me this errors:

log:

java.lang.NoSuchMethodError: reactor.netty.http.client.HttpClient.noChunkedTransfer()Lreactor/netty/http/client/HttpClient;
	at org.springframework.cloud.gateway.filter.NettyRoutingFilter.filter(NettyRoutingFilter.java:104) ~[spring-cloud-gateway-core-2.1.0.M1.jar:2.1.0.M1]
	at org.springframework.cloud.gateway.handler.FilteringWebHandler$GatewayFilterAdapter.filter(FilteringWebHandler.java:135) ~[spring-cloud-gateway-core-2.1.0.M1.jar:2.1.0.M1]
	at org.springframework.cloud.gateway.filter.OrderedGatewayFilter.filter(OrderedGatewayFilter.java:44) ~[spring-cloud-gateway-core-2.1.0.M1.jar:2.1.0.M1]
	at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.lambda$filter$0(FilteringWebHandler.java:117) ~[spring-cloud-gateway-core-2.1.0.M1.jar:2.1.0.M1]
	at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:44) ~[reactor-core-3.2.0.RELEASE.jar:3.2.0.RELEASE]
	at reactor.core.publisher.MonoLift.subscribe(MonoLift.java:45) ~[reactor-core-3.2.0.RELEASE.jar:3.2.0.RELEASE]
...

http-client: org.apache.http.NoHttpResponseException: localhost:8080 failed to respond

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

The next release will be in a few weeks that will work against 2.1.0.RELEASE

@Alos

Gateway 2.1.0.M1 was built against boot 2.1.0.M3

That was Greenwich.M1.

To use boot 2.1.0 you need to use Greenwich snapshots until our next release (today or tomorrow).

Facing the same issue with Spring boot 2.1.0.RELEASE. Its using gateway 2.1.0.M1.