<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.5</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">org.apache.dubbo.registry.client.metadata.proxy.RemoteMetadataServiceProxy#getServiceDefinition(java.lang.String)</p>
<p dir="auto">this method handles result errors,</p>
<p dir="auto">UrlUtils.parseServiceKey return [group, interfaceName, version].</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11514434/79290323-689af480-7efe-11ea-9f29-43c8123d62f9.png"><img src="https://user-images.githubusercontent.com/11514434/79290323-689af480-7efe-11ea-9f29-43c8123d62f9.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">fixbug --&gt;</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11514434/79290358-79e40100-7efe-11ea-8ba8-bbb12785cbdc.png"><img src="https://user-images.githubusercontent.com/11514434/79290358-79e40100-7efe-11ea-8ba8-bbb12785cbdc.png" alt="image" style="max-width: 100%;"></a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.8</li>
<li>Operating System version: Window 7</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>新建A、B、C三个服务，A服务依赖B、C服务，B服务依赖C服务，C服务依赖B服务</li>
<li>启动项目报错</li>
<li>回退到2.7.7版本可以启动成功</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.<br>
<a href="https://github.com/liunancun/demo.git">https://github.com/liunancun/demo.git</a></p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">启动成功</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">启动报错</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<p dir="auto">2020-09-23 14:05:18.420  INFO 51660 --- [           main] o.a.dubbo.common.logger.LoggerFactory    : using logger: org.apache.dubbo.common.logger.slf4j.Slf4jLoggerAdapter<br>
2020-09-23 14:05:18.427  INFO 51660 --- [           main] d.s.b.c.e.WelcomeLogoApplicationListener :</p>
<p dir="auto">:: Dubbo Spring Boot (v2.7.8) : <a href="https://github.com/apache/dubbo-spring-boot-project">https://github.com/apache/dubbo-spring-boot-project</a><br>
:: Dubbo (v2.7.8) : <a href="https://github.com/apache/dubbo">https://github.com/apache/dubbo</a><br>
:: Discuss group : <a href="mailto:dev@dubbo.apache.org">dev@dubbo.apache.org</a></p>
<p dir="auto">2020-09-23 14:05:18.429  INFO 51660 --- [           main] e.OverrideDubboConfigApplicationListener : Dubbo Config was overridden by externalized configuration {dubbo.application.name=demo, dubbo.application.qos-enable=false, dubbo.config.multiple=true, dubbo.registry.address=multicast://224.5.6.7:1234, dubbo.scan.basePackages=com.example.demo}</p>
<p dir="auto">.   ____          _            __ _ _<br>
/\ / <em><em><em>'</em> __ _ <em>(</em>)</em> __  __ _ \ \ \ <br>
( ( )_</em>_ | '_ | '<em>| | '</em> / <em>` | \ \ \ <br>
\/  <em><em><em>)| |</em>)| | | | | || (</em>| |  ) ) ) )<br>
'  |</em></em><em><em>| .__|</em>| |</em>|<em>| |</em>_<em>, | / / / /<br>
=========|</em>|==============|<em><em><em>/=/</em>/</em>/</em>/<br>
:: Spring Boot ::       (v2.2.10.RELEASE)</p>
<p dir="auto">2020-09-23 14:05:18.522  INFO 51660 --- [           main] com.example.demo.DemoApplication         : Starting DemoApplication on liunancun-PC with PID 51660 (D:\work\code\github\demo\target\classes started by liunancun in D:\work\code\github\demo)<br>
2020-09-23 14:05:18.523  INFO 51660 --- [           main] com.example.demo.DemoApplication         : No active profile set, falling back to default profiles: default<br>
2020-09-23 14:05:18.780  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [referenceAnnotationBeanPostProcessor] has been registered.<br>
2020-09-23 14:05:18.781  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [org.apache.dubbo.config.spring.beans.factory.annotation.DubboConfigAliasPostProcessor]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [dubboConfigAliasPostProcessor] has been registered.<br>
2020-09-23 14:05:18.782  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [org.apache.dubbo.config.spring.context.DubboLifecycleComponentApplicationListener]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [dubboLifecycleComponentApplicationListener] has been registered.<br>
2020-09-23 14:05:18.783  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [dubboBootstrapApplicationListener] has been registered.<br>
2020-09-23 14:05:18.783  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [org.apache.dubbo.config.spring.beans.factory.config.DubboConfigDefaultPropertyValueBeanPostProcessor]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [dubboConfigDefaultPropertyValueBeanPostProcessor] has been registered.<br>
2020-09-23 14:05:18.819  INFO 51660 --- [           main] .b.f.a.ConfigurationBeanBindingRegistrar : The configuration bean definition [name : org.apache.dubbo.config.ApplicationConfig#0, content : Root bean: class [org.apache.dubbo.config.ApplicationConfig]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] has been registered.<br>
2020-09-23 14:05:18.820  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [com.alibaba.spring.beans.factory.annotation.ConfigurationBeanBindingPostProcessor]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [configurationBeanBindingPostProcessor] has been registered.<br>
2020-09-23 14:05:18.820  INFO 51660 --- [           main] .b.f.a.ConfigurationBeanBindingRegistrar : The configuration bean definition [name : org.apache.dubbo.config.RegistryConfig#0, content : Root bean: class [org.apache.dubbo.config.RegistryConfig]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] has been registered.<br>
2020-09-23 14:05:18.906  INFO 51660 --- [           main] com.alibaba.spring.util.BeanRegistrar    : The Infrastructure bean definition [Root bean: class [org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nullwith name [dubboBootstrapApplicationListener] has been registered.<br>
2020-09-23 14:05:18.956  INFO 51660 --- [           main] .a.d.c.s.b.f.a.ServiceClassPostProcessor :  [DUBBO] BeanNameGenerator bean can't be found in BeanFactory with name [org.springframework.context.annotation.internalConfigurationBeanNameGenerator], dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:18.957  INFO 51660 --- [           main] .a.d.c.s.b.f.a.ServiceClassPostProcessor :  [DUBBO] BeanNameGenerator will be a instance of org.springframework.context.annotation.AnnotationBeanNameGenerator , it maybe a potential problem on bean name generation., dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:18.970  INFO 51660 --- [           main] .a.d.c.s.b.f.a.ServiceClassPostProcessor :  [DUBBO] The BeanDefinition[Root bean: class [org.apache.dubbo.config.spring.ServiceBean]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] of ServiceBean has been registered with name : ServiceBean:com.example.demo.AService, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:18.972  INFO 51660 --- [           main] .a.d.c.s.b.f.a.ServiceClassPostProcessor :  [DUBBO] The BeanDefinition[Root bean: class [org.apache.dubbo.config.spring.ServiceBean]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] of ServiceBean has been registered with name : ServiceBean:com.example.demo.BService, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:18.973  INFO 51660 --- [           main] .a.d.c.s.b.f.a.ServiceClassPostProcessor :  [DUBBO] The BeanDefinition[Root bean: class [org.apache.dubbo.config.spring.ServiceBean]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] of ServiceBean has been registered with name : ServiceBean:com.example.demo.CService, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:18.973  INFO 51660 --- [           main] .a.d.c.s.b.f.a.ServiceClassPostProcessor :  [DUBBO] 3 annotated Dubbo's <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a> Components { [Bean definition with name 'AServiceImpl': Generic bean: class [com.example.demo.AServiceImpl]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\work\code\github\demo\target\classes\com\example\demo\AServiceImpl.class], Bean definition with name 'BServiceImpl': Generic bean: class [com.example.demo.BServiceImpl]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\work\code\github\demo\target\classes\com\example\demo\BServiceImpl.class], Bean definition with name 'CServiceImpl': Generic bean: class [com.example.demo.CServiceImpl]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\work\code\github\demo\target\classes\com\example\demo\CServiceImpl.class]] } were scanned under package[com.example.demo], dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:18.974  INFO 51660 --- [           main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/configuration/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/configuration">@configuration</a> bean definition 'org.apache.dubbo.spring.boot.autoconfigure.DubboRelaxedBinding2AutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bean/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bean">@bean</a> method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.<br>
2020-09-23 14:05:18.974  INFO 51660 --- [           main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/configuration/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/configuration">@configuration</a> bean definition 'org.apache.dubbo.spring.boot.autoconfigure.DubboAutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bean/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bean">@bean</a> method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.<br>
2020-09-23 14:05:19.196  INFO 51660 --- [           main] .a.ConfigurationBeanBindingPostProcessor : The configuration bean [&lt;dubbo:application name="demo" qosEnable="false" hostname="liunancun-PC" /&gt;] have been binding by the configuration properties [{name=demo, qos-enable=false}]<br>
2020-09-23 14:05:19.203  INFO 51660 --- [           main] .a.ConfigurationBeanBindingPostProcessor : The configuration bean [&lt;dubbo:registry address="multicast://224.5.6.7:1234" protocol="multicast" port="1234" /&gt;] have been binding by the configuration properties [{address=multicast://224.5.6.7:1234}]<br>
2020-09-23 14:05:19.391  INFO 51660 --- [           main] o.a.d.c.s.b.f.a.ReferenceBeanBuilder     : The configBean[type:ReferenceBean] has been built.<br>
2020-09-23 14:05:19.417  INFO 51660 --- [           main] o.a.d.c.s.b.f.a.ReferenceBeanBuilder     : The configBean[type:ReferenceBean] has been built.<br>
2020-09-23 14:05:19.434  INFO 51660 --- [           main] o.a.d.config.bootstrap.DubboBootstrap    :  [DUBBO] No value is configured in the registry, the DynamicConfigurationFactory extension[name : multicast] does not support as the config center, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.435  INFO 51660 --- [           main] o.a.d.config.bootstrap.DubboBootstrap    :  [DUBBO] The registry[&lt;dubbo:registry address="multicast://224.5.6.7:1234" protocol="multicast" port="1234" /&gt;] will be not used as the config center, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.468  INFO 51660 --- [           main] o.a.d.c.utils.ConfigValidationUtils      :  [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.477  INFO 51660 --- [           main] o.a.d.config.bootstrap.DubboBootstrap    :  [DUBBO] No value is configured in the registry, the MetadataReportFactory extension[name : multicast] does not support as the metadata center, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.478  INFO 51660 --- [           main] o.a.d.config.bootstrap.DubboBootstrap    :  [DUBBO] The registry[&lt;dubbo:registry address="multicast://224.5.6.7:1234" protocol="multicast" port="1234" /&gt;] will be not used as the metadata center, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.486  INFO 51660 --- [           main] o.a.d.config.bootstrap.DubboBootstrap    :  [DUBBO] DubboBootstrap has been initialized!, dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.492  WARN 51660 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AServiceImpl' defined in file [D:\work\code\github\demo\target\classes\com\example\demo\AServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.BService': Cannot resolve reference to bean 'BServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BServiceImpl' defined in file [D:\work\code\github\demo\target\classes\com\example\demo\BServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.CService': Cannot resolve reference to bean 'CServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CServiceImpl': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
2020-09-23 14:05:19.493  INFO 51660 --- [           main] f.a.ReferenceAnnotationBeanPostProcessor : class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!<br>
2020-09-23 14:05:19.501  INFO 51660 --- [           main] ConditionEvaluationReportLoggingListener :</p>
<p dir="auto">Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.<br>
2020-09-23 14:05:19.505 ERROR 51660 --- [           main] o.s.boot.SpringApplication               : Application run failed</p>
<p dir="auto">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AServiceImpl' defined in file [D:\work\code\github\demo\target\classes\com\example\demo\AServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.BService': Cannot resolve reference to bean 'BServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BServiceImpl' defined in file [D:\work\code\github\demo\target\classes\com\example\demo\BServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.CService': Cannot resolve reference to bean 'CServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CServiceImpl': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879) ~[spring-context-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551) ~[spring-context-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.10.RELEASE.jar:2.2.10.RELEASE]<br>
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.10.RELEASE.jar:2.2.10.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.10.RELEASE.jar:2.2.10.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.10.RELEASE.jar:2.2.10.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.10.RELEASE.jar:2.2.10.RELEASE]<br>
at com.example.demo.DemoApplication.main(DemoApplication.java:10) [classes/:na]<br>
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.BService': Cannot resolve reference to bean 'BServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BServiceImpl' defined in file [D:\work\code\github\demo\target\classes\com\example\demo\BServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.CService': Cannot resolve reference to bean 'CServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CServiceImpl': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1115) ~[spring-context-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.getServiceBean(ReferenceAnnotationBeanPostProcessor.java:286) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.exportServiceBeanIfNecessary(ReferenceAnnotationBeanPostProcessor.java:278) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.prepareReferenceBean(ReferenceAnnotationBeanPostProcessor.java:271) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:138) ~[dubbo-2.7.8.jar:2.7.8]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.getInjectedObject(AbstractAnnotationBeanPostProcessor.java:359) ~[spring-context-support-1.0.8.jar:na]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor$AnnotatedFieldElement.inject(AbstractAnnotationBeanPostProcessor.java:539) ~[spring-context-support-1.0.8.jar:na]<br>
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:142) ~[spring-context-support-1.0.8.jar:na]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
... 14 common frames omitted<br>
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BServiceImpl' defined in file [D:\work\code\github\demo\target\classes\com\example\demo\BServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.CService': Cannot resolve reference to bean 'CServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CServiceImpl': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
... 34 common frames omitted<br>
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:com.example.demo.CService': Cannot resolve reference to bean 'CServiceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CServiceImpl': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1115) ~[spring-context-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.getServiceBean(ReferenceAnnotationBeanPostProcessor.java:286) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.exportServiceBeanIfNecessary(ReferenceAnnotationBeanPostProcessor.java:278) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.prepareReferenceBean(ReferenceAnnotationBeanPostProcessor.java:271) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:138) ~[dubbo-2.7.8.jar:2.7.8]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.getInjectedObject(AbstractAnnotationBeanPostProcessor.java:359) ~[spring-context-support-1.0.8.jar:na]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor$AnnotatedFieldElement.inject(AbstractAnnotationBeanPostProcessor.java:539) ~[spring-context-support-1.0.8.jar:na]<br>
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:142) ~[spring-context-support-1.0.8.jar:na]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
... 40 common frames omitted<br>
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CServiceImpl': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:146) ~[spring-context-support-1.0.8.jar:na]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
... 60 common frames omitted<br>
Caused by: java.lang.IllegalStateException: &lt;dubbo:service interface="" /&gt; interface not allow null!<br>
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:234) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:193) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.exportServiceBeanIfNecessary(ReferenceAnnotationBeanPostProcessor.java:280) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.prepareReferenceBean(ReferenceAnnotationBeanPostProcessor.java:271) ~[dubbo-2.7.8.jar:2.7.8]<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:138) ~[dubbo-2.7.8.jar:2.7.8]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.getInjectedObject(AbstractAnnotationBeanPostProcessor.java:359) ~[spring-context-support-1.0.8.jar:na]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor$AnnotatedFieldElement.inject(AbstractAnnotationBeanPostProcessor.java:539) ~[spring-context-support-1.0.8.jar:na]<br>
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:142) ~[spring-context-support-1.0.8.jar:na]<br>
... 68 common frames omitted</p>
<p dir="auto">2020-09-23 14:05:19.507  INFO 51660 --- [bboShutdownHook] o.apache.dubbo.config.DubboShutdownHook  :  [DUBBO] Run shutdown hook now., dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.509  INFO 51660 --- [bboShutdownHook] o.a.d.r.support.AbstractRegistryFactory  :  [DUBBO] Close all registries [], dubbo version: 2.7.8, current host: 192.168.97.8<br>
2020-09-23 14:05:19.509  INFO 51660 --- [bboShutdownHook] o.a.d.c.e.listener.LoggingEventListener  :  [DUBBO] Dubbo Service has been destroyed., dubbo version: 2.7.8, current host: 192.168.97.8</p>