Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] protoc-gen-grpc-java Path Issue in Dubbo Compilation #15293

Open
3 of 4 tasks
ankitshokeen opened this issue Apr 3, 2025 · 0 comments
Open
3 of 4 tasks

[Bug] protoc-gen-grpc-java Path Issue in Dubbo Compilation #15293

ankitshokeen opened this issue Apr 3, 2025 · 0 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@ankitshokeen
Copy link

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Environment:

OS: Windows 10

Java version: JDK 17

Dubbo version: 3.1.10

protoc version: libprotoc 30.2

protoc-gen-grpc-java version: 1.64.0

Steps to reproduce this issue

Run this command to reproduce protoc --proto_path=src/main/proto --java_out=src/main/java --grpc-java_out=src/main/java --plugin=protoc-gen-grpc-java="C:\path\to\protoc-gen-grpc-java.exe" src/main/proto/voice_chat.proto

What I Have Tried:

Verified that protoc-gen-grpc-java exists at C:\path\to\protoc-gen-grpc-java.exe.
Checked file permissions.
Confirmed protoc and protoc-gen-grpc-java are compatible versions.
Ran protoc --version to confirm it's installed correctly.
Tried using absolute paths in the command.

What you expected to happen

Expected Output:
The .java files should be generated without errors.

Actual Output:
The process fails with "The system cannot find the path specified" error.

Anything else

issue related to dubbo-rpc-tri (Dubbo Triple)
#12414

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@ankitshokeen ankitshokeen added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Status: Todo
Development

No branches or pull requests

1 participant