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
First of all, thank you for creating this repo. It has really helped me understand the usage of scala in grpc applications.
Nevertheless I've been struggling to get the HelloWorldServer and the HelloWorldClient to run. Although admittedly I'm a scala newbie, I think this repository would benefit with a description on how to do that, just like it is done in the case of the grpc-java examples: https://github.com/grpc/grpc-java/tree/master/examples#-to-build-the-examples.
I also tried running them in the interceptor branch but couldn't.
I tried running:
sbt run
sbt run io.grpc.examples.helloworld.HelloWorldServer
there are two subprojects, grpcJavaSample and grpcScalaSample
so I would expect grpcScalaSample/run to work
but when I try it I get a ton of compilation errors, starting with:
[error] /Users/tisue/grpc-scala-sample/grpc-scala/src/main/scala/io/grpc/examples/helloworld/HelloWorldClient.scala:37:36: object helloworld is not a member of package io.grpc.examples.helloworld
[error] import io.grpc.examples.helloworld.helloworld.{HelloRequest, GreeterGrpc}
[error] ^
First of all, thank you for creating this repo. It has really helped me understand the usage of scala in grpc applications.
Nevertheless I've been struggling to get the HelloWorldServer and the HelloWorldClient to run. Although admittedly I'm a scala newbie, I think this repository would benefit with a description on how to do that, just like it is done in the case of the grpc-java examples: https://github.com/grpc/grpc-java/tree/master/examples#-to-build-the-examples.
I also tried running them in the interceptor branch but couldn't.
I tried running:
sbt run
sbt run io.grpc.examples.helloworld.HelloWorldServer
sbt "run-main io.grpc.examples.helloworld.HelloWorldServer"
Even though
show compiledMainClasses
finds these:io.grpc.examples.helloworld.HelloWorldServer
andio.grpc.examples.helloworld.HelloWorldClient
Could you shed some light? Thanks in advance!
The text was updated successfully, but these errors were encountered: