This error was caused by Spring Cloud Feign design, every `@FeignClient` will 
generate a Feign proxy with a new child Spring `ApplicationContext` that may be 
refreshed before its' parent `ApplicationContext`. If any Dubbo service bean 
annotated `@Service` was scanned by the child context, this Dubbo `ServiceBean` 
also will be initialized and it's no guarantee its dependent Spring beans are 
ready in that time, thus there are two ways to resolve this issue :

1. Avoid Dubbo `@Service` Bean to register into the child context
2. Via the `contextId` attribute of `@FeignClient` to specify the Spring Boot 
server `ApplicationContext`


[ Full content available at: https://github.com/apache/dubbo/issues/3990 ]
This message was relayed via gitbox.apache.org for 
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to