grpc-demo icon indicating copy to clipboard operation
grpc-demo copied to clipboard

introduces using grpc about encryption、stream、oneof、interceptor、loadbalance demo

Results 1 grpc-demo issues
Sort by recently updated
recently updated
newest added

代码报错:Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tomcat.jni.SSLContext.setCertificateBio(JJJLjava/lang/String;)Z netty-tcnative和netty-tcnative-boringssl-static都拥有相同类路径的SSLContext类,代码实际调用的是netty-tcnative的SSLContext.setCertificateBio()方法,但是pom文件里面netty-tcnative-boringssl-static比netty-tcnative先申明,所以maven根据顺序加载的是netty-tcnative-boringssl-static的SSLContext类,导致启动报NoSuchMethodError