Open YunWZ opened 1 year ago
You can remove
System.out.println("greeting : " + annotationAction.doGreeting("world"));
System.out.println("reply : " + annotationAction.replyGreeting("world"));
in AnnotationConsumerBootstrap
.
it will always time out
[24/02/23 12:51:28:028 CST] DubboShutdownHook WARN integration.RegistryProtocol: [DUBBO] null, dubbo version: 3.2.0-beta.5-SNAPSHOT, current host: 192.168.31.232, error code: 99-0. This may be caused by unknown error in registry module, go to https://dubbo.apache.org/faq/99/0 to find instructions.
java.lang.NullPointerException
at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:913)
at org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter.unexport(RegistryProtocol.java:695)
at org.apache.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:195)
at org.apache.dubbo.config.deploy.DefaultModuleDeployer.postDestroy(DefaultModuleDeployer.java:241)
at org.apache.dubbo.rpc.model.ModuleModel.onDestroy(ModuleModel.java:109)
at org.apache.dubbo.rpc.model.ScopeModel.destroy(ScopeModel.java:115)
at org.apache.dubbo.rpc.model.ApplicationModel.onDestroy(ApplicationModel.java:260)
at org.apache.dubbo.rpc.model.ScopeModel.destroy(ScopeModel.java:115)
at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:123)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:78)
This is a log when shutting down.
Ask your question here
I try to start
dubbo-samples-annotation
project, but failed.First, I start
AnnotationProviderBootstrap
, that is ok. and output log :And then, I try to start
AnnotationConsumerBootstrap
, it's failed! The output log below: