buildtools cmd internal testdata .gitattributes .gitignore .goreleaser.yaml LICENSE README.md go.mod go.sum go.work protoc_gen_grpc_java_test.goBreadcrumbs go-protoc-gen-grpc-java /.github /workflows / ci.yaml View Runs Latest commit
{os.detected.classifier}</protocArtifact> <pluginId>grpc-java</pluginId> <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> </configuration> <executions> <execution> <goals> <goal>compile</goal> <goal>compile-custom</goal> </goals>...
*** Please refer tohttps://github.com/grpc/grpc-java/blob/master/COMPILING.md#how-to-build-code-generation-plugin :grpc-compiler:compileJava_pluginExecutableJava_pluginCpp /Users/ghj1976/project/github/grpc/grpc-java/compiler/src/java_plugin/cpp/java_generator.h:8:10: fatal error: 'google/pr...
*** Please refer tohttps://github.com/grpc/grpc-java/blob/master/COMPILING.md#how-to-build-code-generation-plugin :grpc-compiler:compileJava_pluginExecutableJava_pluginCpp /Users/ghj1976/project/github/grpc/grpc-java/compiler/src/java_plugin/cpp/java_generator.h:8:10: fatal error: 'google/pr...
下载protoc-gen-grpc-java: 你可以从 GitHub releases 页面下载对应版本的 protoc-gen-grpc-java。选择适合你操作系统的版本,例如对于 Windows 用户,你可以下载 protoc-gen-grpc-java-<version>-windows-x86_64.exe。安装protoc-gen-grpc-java: 对于Windows 用户,将下载的 .exe 文件放置到一个合适的目录,...
C++ compiler failed while compiling java_generator.cpp. See the complete log at: file:///Users/ghj1976/project/github/grpc/grpc-java/compiler/build/tmp/compileJava_pluginExecutableJava_pluginCpp/output.txt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --de...
// https://github.com/google/protobuf-gradle-plugin 的源码来了解具体有哪些参数 protoc { // The artifact spec for the Protobuf Compiler artifact = 'com.google.protobuf:protoc:3.25.0' //最新的protobuf的版本 } plugins { grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.59.0' //给prot...
/Users/ghj1976/project/github/grpc/grpc-java/compiler/src/java_plugin/cpp/java_generator.h:8:10: fatal error:'google/protobuf/io/zero_copy_stream.h' file not found #include <google/protobuf/io/zero_copy_stream.h> ^ 1 error generated.In file included from /Users/ghj1976/project/github/...
protoc-gen-go需要放到环境变量里,让protoc程序能找到。 java 端生成代码 option java_package="com.dtstack.rdslite.task.engine.rpc";protoc --plugin=protoc-gen-grpc-java=/Users/hx/workspace/java/github/grpc-java/compiler/build/exe/java_plugin/protoc-gen-grpc-java --grpc-java_out="./""./service...
上侧java部分用于生成proto中的message部分;grpc-java则用于生成proto中的service部分。 protoc的翻译操作也不用像使用protobuf-maven-plugin方案那样,要执行一次protobuf:compile后再执行一次protobuf:compile-custom 。而只需要执行一次protoc-jar:run。 在这里插入图片描述 ...