It seems like you may have two copies of netty in your code. If you are using gradle, can you print out the dependencies of your project? It should come out of something like:
./gradlew :dependencies On Wednesday, June 7, 2017 at 9:16:37 PM UTC-7, [email protected] wrote: > > I am using grpc version 1.3.0 can you help me out how to solve this > problem.? > > On Tuesday, June 6, 2017 at 5:03:05 PM UTC+5:30, [email protected] > wrote: >> >> I am using java 1.8 and trying to connect my java grpc-client to ruby >> grpc server using grpc (1.3.0.0) >> but at the time of execution it's giving me following exeption: >> >> java.lang.NoSuchMethodError: >> io.netty.handler.codec.http.HttpResponseStatus.codeAsText()Lio/netty/util/AsciiString; >> at >> io.netty.handler.codec.http2.Http2ConnectionHandler.<clinit>(Http2ConnectionHandler.java:69) >> at io.grpc.netty.NettyClientTransport.start(NettyClientTransport.java:190) >> at >> io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:44) >> at >> io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:216) >> at >> io.grpc.internal.InternalSubchannel.obtainActiveTransport(InternalSubchannel.java:186) >> at >> io.grpc.internal.ManagedChannelImpl$SubchannelImplImpl.obtainActiveTransport(ManagedChannelImpl.java:812) >> at io.grpc.internal.GrpcUtil.getTransportFromPickResult(GrpcUtil.java:592) >> at >> io.grpc.internal.DelayedClientTransport.reprocess(DelayedClientTransport.java:295) >> at >> io.grpc.internal.ManagedChannelImpl$LbHelperImpl$5.run(ManagedChannelImpl.java:718) >> at io.grpc.internal.ChannelExecutor.drain(ChannelExecutor.java:87) >> at >> io.grpc.internal.ManagedChannelImpl$LbHelperImpl.runSerialized(ManagedChannelImpl.java:709) >> at >> io.grpc.internal.ManagedChannelImpl$NameResolverListenerImpl.onAddresses(ManagedChannelImpl.java:758) >> at io.grpc.internal.DnsNameResolver$1.run(DnsNameResolver.java:175) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> >> Note: grpc server is implemented in c-ruby. >> >> thank you in advance! >> >> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/3fafd778-4449-40dc-b12a-d67c13083208%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
