You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While executing the example given in readme got the following error with version 2.1.1
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.sap.cloudfoundry.client.facade.adapters.CloudFoundryClientFactory.lambda$createConnectionContext$0(CloudFoundryClientFactory.java:57)
The following method did not exist:
'reactor.netty.http.client.HttpClient reactor.netty.http.client.HttpClient.metrics(boolean)'
The method's class, reactor.netty.http.client.HttpClient, is available from the following locations:
jar:file:/C:/Users/I343785/.m2/repository/io/projectreactor/netty/reactor-netty-http/1.0.7/reactor-netty-http-1.0.7.jar!/reactor/netty/http/client/HttpClient.class
The class hierarchy was loaded from the following locations:
reactor.netty.http.client.HttpClient: file:/C:/Users/I343785/.m2/repository/io/projectreactor/netty/reactor-netty-http/1.0.7/reactor-netty-http-1.0.7.jar
reactor.netty.transport.ClientTransport: file:/C:/Users/I343785/.m2/repository/io/projectreactor/netty/reactor-netty-core/1.0.7/reactor-netty-core-1.0.7.jar
reactor.netty.transport.Transport: file:/C:/Users/I343785/.m2/repository/io/projectreactor/netty/reactor-netty-core/1.0.7/reactor-netty-core-1.0.7.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of reactor.netty.http.client.HttpClient
The text was updated successfully, but these errors were encountered:
Hi @vedraiyani , as I can see from the error, you are override somewhere in your pom.xml reactor-netty version with 1.0.7 and this project is still using reactor-netty 0.9.25. There are breaking changes between reactor-netty 0.9 and 1.0 and that's why you observed this error.
This project is facade for cf-java-client. I would like to know what is your use case of cf-java-client project?
While executing the example given in readme got the following error with version 2.1.1
The text was updated successfully, but these errors were encountered: