Open fengnex opened 2 months ago
java_interop/protobuf-triple/java下面的java-server和java-client都不能通过各自自带的run.sh成功编译,都报下面的错误: [ERROR] PROTOC FAILED: Error: Could not find or load main class org.apache.dubbo.gen.tri.Dubbo3TripleGenerator Caused by: java.lang.ClassNotFoundException: org.apache.dubbo.gen.tri.Dubbo3TripleGenerator --dubbo_out: protoc-gen-dubbo: Plugin failed with status code 1.
解决上面的问题后又遇到下面的问题,怎么解决? Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:java (default-cli) on project java-client: An exception occurred while executing the Java class. UNIMPLEMENTED : invalid content-type: text/plain; charset=utf-8 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:java (default-cli) on project java-client: An exception occurred while executing the Java class. UNIMPLEMENTED : invalid content-type: text/plain; charset=utf-8
这个示例的Java-server和java-client之间不能互通,存在的问题: [DUBBO] can not found commandContext, url: /org.apache.dubbo.sample.Greeter/sayHello, dubbo version: 3.1.7, current host: 172.21.0.1, error code: 7-6. This may be caused by , go to https://dubbo.apache.org/faq/7/6 to find instructions. 还有: An exception occurred while executing the Java class. Failed to check the status of the service org.apache.dubbo.sample.Greeter. No provider available for the service org.apache.dubbo.sample.Greeter from the url consumer://localhost?application=dubbo-test&background=false&interface=org.apache.dubbo.sample.Greeter&pid=115129®ister.ip=172.21.0.1&side=consumer&sticky=false&timeout=3000&unloadClusterRelated=false to the consumer 172.21.0.1 use dubbo version 3.1.7
closed
验证master分支下的java_interop项目时不断遇到问题:
[ERROR] /.../dubbo-go-samples-main/java_interop/protobuf-triple/java/java-client/src/main/proto/greet.proto [0:0]: Error: Could not find or load main class org.apache.dubbo.gen.tri.Dubbo3TripleGenerator Caused by: java.lang.ClassNotFoundException: org.apache.dubbo.gen.tri.Dubbo3TripleGenerator --dubbo_out: protoc-gen-dubbo: Plugin failed with status code 1`