apache / dubbo-go-samples

Apache dubbo
https://dubbo.apache.org/
Apache License 2.0
233 stars 185 forks source link

java_interop示例下的Java-server和java-client之间不能互通,二者使用的dubbo.version也不一样,太粗糙了! #753

Closed fengnex closed 4 months ago

fengnex commented 5 months ago

这个示例的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&register.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

fengnex commented 5 months ago

java-server的dubbo.version改为3.1.7后能编译成功,但启动一会后会报很多错java.lang.NoClassDefFoundError: io/netty/util/concurrent/DefaultPromise$1

fengnex commented 5 months ago

目前dubbo.apache.org上和这里关于Java、go之间互通的例子,全部都不能正确运行,期待官方及早给出真正能够正确运行的示例。