can you add grpc-core dependencies? in 1.21.0 we introduced grpc-api,
grpc-stub etc is now depends on the api, so you are now missing the
grpc-core dependency.
the real cause is grpc-netty-shaded has runtime dependency of grpc-core
which is fixed (now it is compile time dependency) on master branch.

there was a discussion here <https://github.com/grpc/grpc-java/issues/5881>.

On Tue, Jun 25, 2019 at 2:32 AM Elhanan Maayan <[email protected]> wrote:

> btw, i've been to create mock server that uses ssl.
> however to build a client with my own ssl configuration like so
>
> final NettyChannelBuilder nettyChannelBuilder = 
> NettyChannelBuilder.forAddress("", 8888);
>
>
> i get a compile error of cannot access AbstractManagedChannelImplBuilder
>
> which is a strange because it is in the class path
>
>
>
>
>
>         <dependency>
>             <groupId>io.grpc</groupId>
>             <artifactId>grpc-netty-shaded</artifactId>
>             <version>1.21.0</version>
>         </dependency>
>         <dependency>
>             <groupId>io.grpc</groupId>
>             <artifactId>grpc-protobuf</artifactId>
>             <version>1.21.0</version>
>         </dependency>
>         <dependency>
>             <groupId>io.grpc</groupId>
>             <artifactId>grpc-stub</artifactId>
>             <version>1.21.0</version>
>         </dependency>
>
>         <dependency>
>             <groupId>io.netty</groupId>
>             <artifactId>netty-tcnative-boringssl-static</artifactId>
>             <version>2.0.25.Final</version> <!-- See table for correct 
> version -->
> <!--            <scope>runtime</scope>-->
>         </dependency>
>
>
> i'm also going to be using netty itself,4.1.35.Final, i understand that 
> because netty is shaded in the boring ssl dependencies i won't have any 
> conflicts.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/015f5945-c600-43c6-9aa8-63b46cfb936c%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/015f5945-c600-43c6-9aa8-63b46cfb936c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CABu9GjpM29jVvxceMShEwaea4fDpN35RRJ0__R8%2BD_uawz5pPg%40mail.gmail.com.

Reply via email to