Please follow the instructions at https://github.com/grpc/grpc-java/blob/master/COMPILING.md#how-to-build-code-generation-plugin to make sure you get the code generation plugin
On Wednesday, July 26, 2023 at 1:44:17 PM UTC-7 Hüsnü Ayaz wrote: > > I check there. Unfortunately, there is no class named > HelloServiceImplBase. Someone says in stackoverflow It sounds like > you're building the protos but not the gRPC parts. And says use this > command below > protoc --grpc-java_out=DataLink_Parser/backend/src/main/java/com/backend > DataLink_Parser/backend/src/main/java/com/backend/HelloService.proto > but it gives this eror. > protoc-gen-grpc-java: program not found or is not executable > Please specify a program using absolute path or make sure the program is > available in your PATH system variable > --grpc-java_out: protoc-gen-grpc-java: Plugin failed with status code 1. > I tried to add plugin and depandecy in my maven project. I use vs code and > update my pom file but it gives same eror. > 26 Temmuz 2023 Çarşamba tarihinde saat 23:37:32 UTC+3 itibarıyla > sanjay...@google.com şunları yazdı: > >> Did you check HelloServiceOuterClass.java? HelloServiceImplBase must be >> present as an inner class there. >> >> On Wednesday, July 26, 2023 at 12:55:53 PM UTC-7 Hüsnü Ayaz wrote: >> >>> hi everyone. I'm a student. I'm learning protobuff. But I have some >>> problems. I have created a basic proto file. there are 2 message and 1 >>> service insade of it. Hellorequest and Helloresponse and Hello service. >>> >>> I'm using this command for compile. >>> protoc --java_out=DataLink_Parser/backend/src/main/java/com/backend >>> DataLink_Parser/backend/src/main/java/com/backend/HelloService.proto >>> Hellorequest and Helloresponse java classes is crated and also >>> Hellorequestorbuild.java , >>> Helloresponseorbuild.java and last HelloServiceOuterClass.java files >>> created. 5 in total. >>> >>> HelloServiceImplBase I need this class. But it's not created. Can you >>> help me with this? >>> >>> -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/3a6b6a16-c850-4f25-af4b-47eb2d7980fbn%40googlegroups.com.