Good day to you Java and gRPC gurus out there.
I have been following this https://github.com/jpdna/gRPC-maven-helloworld, because I am learning gRPC using Java.
I was able to compile it using mvn clean package. But when I loaded the project in Eclipse, the file:
org.jpdna.grpchello.HelloWorldServer
is looking for the class "GreeterGrpc".
I tried executing this in the terminal:
$ protoc --java_out=/gRPC-maven-helloworld/src/main/java hello_world.proto
It generated the following classes:
- HelloRequest.java
- HelloRequestOrBuilder.java
- HelloResponse.java
- HelloResponseOrBuilder.java
- HelloWorldProto.java
But no GreeterGrpc.java which is defined as a service in this project. If you don't mind me asking, I would like to know how to create or generate this GreeterGrpc.java class?
Many thanks to you guys!