-
Notifications
You must be signed in to change notification settings - Fork 217
java.lang.NoSuchMethodError... netty versions? #10
Comments
Looks like a problem with netty version on your classpath. You probably have netty dependency from another dependency in your project. Xchange-stream is dependent on Try run It should work if versions aren't so much different and there is no API breaking change between theese versions. |
Can't see where it's coming from. The only netty-all I have is +--- info.bitrich.xchange-stream:xchange-poloniex:4.2.3-SNAPSHOT |
Hmm, adding an explicit dependency in my gradle file seem to solve it. |
Explicit dependency on what? I'm thinking of excluding that netty-codec-htttp from jawampa-netty. It can be the cause. Can you try it if i push fix on snapshot verison? |
Can you try it without your explicit dependency? Latest in develop. |
I'm just trying to get started with this project. I'm getting the error below, looks like a Netty versioning problem. The code is running inside the same project (& VM) as my regular xchange project. Are they incompatible?
Exception in thread "main" java.lang.NoSuchMethodError: io.netty.handler.ssl.SslContext.newClientContextInternal(Lio/netty/handler/ssl/SslProvider;[Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
The text was updated successfully, but these errors were encountered: