<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.6.X</li>
<li>Operating System version: *nix</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>use provider to provide dubbo group</li>
<li>not set dubbo group for specify service</li>
<li>enable qos port</li>
<li>connect to qos port execute offline command</li>
<li>the specify service not offline</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">the specify service should offline</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">the specify service not offline</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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"> 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.6</li>
<li>Operating System version: Window 10专业版</li>
<li>Java version: 1.8.0_162</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>在POM引入Spring Cloud Alibaba Dubbo</li>
<li>在application.properties配置<br>
dubbo.scan.base-packages=xxx</li>
</ol>
<p dir="auto">dubbo.protocol.port=20882<br>
dubbo.protocol.name=dubbo</p>
<p dir="auto">spring.cloud.nacos.discovery.server-addr=192.168.1.211:8848<br>
3. Service实现类引入org.apache.dubbo.config.annotation.Service注解，Controller中使用org.apache.dubbo.config.annotation.Reference</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">正常的启动，同时在Nacos注册Spring Boot和Dubbo的服务<br>
What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?<br>
项目启动失败了<br>
If there is an exception, please attach the exception trace:<br>
2020-11-04 16:00:14.799  INFO 15112 --- [  restartedMain] .a.ConfigurationBeanBindingPostProcessor : The configuration bean [&lt;dubbo:protocol name="dubbo" port="20882" /&gt;] have been binding by the configuration properties [{port=20882, name=dubbo}]<br>
2020-11-04 16:00:14.801  INFO 15112 --- [  restartedMain] o.a.d.c.s.b.f.a.ReferenceBeanBuilder     : The configBean[type:ReferenceBean] has been built.<br>
2020-11-04 16:00:14.833  WARN 15112 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.<br>
2020-11-04 16:00:14.833  INFO 15112 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.<br>
2020-11-04 16:00:14.836  WARN 15112 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.<br>
2020-11-04 16:00:14.836  INFO 15112 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.<br>
2020-11-04 16:00:14.944  INFO 15112 --- [  restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'<br>
2020-11-04 16:00:15.194  WARN 15112 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'feignTargeter' defined in class path resource [org/springframework/cloud/openfeign/FeignAutoConfiguration$DefaultFeignTargeterConfiguration.class]: Initialization of bean failed; nested exception is java.lang.IllegalAccessError: class org.springframework.cloud.openfeign.$Proxy93 cannot access its superinterface org.springframework.cloud.openfeign.Targeter<br>
2020-11-04 16:00:15.194  INFO 15112 --- [  restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'<br>
2020-11-04 16:00:15.195  INFO 15112 --- [  restartedMain] c.a.c.d.s.DubboGenericServiceFactory     : The Dubbo GenericService ReferenceBeans are destroying...<br>
2020-11-04 16:00:15.196  WARN 15112 --- [  restartedMain] o.s.b.f.support.DisposableBeanAdapter    : Invocation of destroy method failed on bean with name 'referenceAnnotationBeanPostProcessor': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'ServiceBean:com.seer.seerdemo.service.SayHelloService': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)<br>
2020-11-04 16:00:15.197  INFO 15112 --- [  restartedMain] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]<br>
2020-11-04 16:00:15.212  INFO 15112 --- [  restartedMain] ConditionEvaluationReportLoggingListener :</p>
<p dir="auto">Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.<br>
2020-11-04 16:00:15.212  INFO 15112 --- [  restartedMain] .b.c.e.AwaitingNonWebApplicationListener :  [Dubbo] Current Spring Boot Application is about to shutdown...<br>
2020-11-04 16:00:15.221 ERROR 15112 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed</p>
<p dir="auto">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'feignTargeter' defined in class path resource [org/springframework/cloud/openfeign/FeignAutoConfiguration$DefaultFeignTargeterConfiguration.class]: Initialization of bean failed; nested exception is java.lang.IllegalAccessError: class org.springframework.cloud.openfeign.$Proxy93 cannot access its superinterface org.springframework.cloud.openfeign.Targeter<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.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
at com.seer.seerdemo.SeerDemoApplication.main(SeerDemoApplication.java:10) [classes/:na]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_162]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_162]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_162]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_162]<br>
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.3.4.RELEASE.jar:2.3.4.RELEASE]<br>
Caused by: java.lang.IllegalAccessError: class org.springframework.cloud.openfeign.$Proxy93 cannot access its superinterface org.springframework.cloud.openfeign.Targeter<br>
at java.lang.reflect.Proxy.defineClass0(Native Method) ~[na:1.8.0_162]<br>
at java.lang.reflect.Proxy.access$300(Proxy.java:228) ~[na:1.8.0_162]<br>
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:642) ~[na:1.8.0_162]<br>
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557) ~[na:1.8.0_162]<br>
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230) ~[na:1.8.0_162]<br>
at java.lang.reflect.WeakCache.get(WeakCache.java:127) ~[na:1.8.0_162]<br>
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419) ~[na:1.8.0_162]<br>
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719) ~[na:1.8.0_162]<br>
at com.alibaba.cloud.dubbo.openfeign.TargeterBeanPostProcessor.postProcessAfterInitialization(TargeterBeanPostProcessor.java:75) ~[spring-cloud-starter-dubbo-2.2.1.RELEASE.jar:2.2.1.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:430) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1798) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]<br>
... 21 common frames omitted</p>
<p dir="auto">2020-11-04 16:00:15.224  INFO 15112 --- [bboShutdownHook] o.apache.dubbo.config.DubboShutdownHook  :  [DUBBO] Run shutdown hook now., dubbo version: 2.7.6, current host: 192.168.64.1</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>