You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/06 05:41:57 UTC

[GitHub] [dubbo-spi-extensions] happylay-cloud opened a new issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

happylay-cloud opened a new issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49


   ### 开发环境
   * dubbo-2.7.8
   * dubbo-api-docs-2.7.8.3
   * springcloud-alibaba-2.2.6.RELEASE
   
   ### 问题描述
   
   SpringCloudAlibaba整合dubbo的接口文档,出现bean重复。
   
   ### 异常信息
   ```
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Field registry in org.apache.dubbo.apidocs.core.DubboApiDocsAnnotationScanner required a single bean, but 2 were found:
   	- defaultSpringCloudRegistryConfig: defined by method 'defaultSpringCloudRegistryConfig' in class path resource [com/alibaba/cloud/dubbo/autoconfigure/DubboServiceRegistrationAutoConfiguration.class]
   	- org.apache.dubbo.config.RegistryConfig#0: defined in null
   
   
   Action:
   
   Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-spi-extensions] KeRan213539 commented on issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

Posted by GitBox <gi...@apache.org>.
KeRan213539 commented on issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49#issuecomment-924543946


   spring:
     main:
       allow-bean-definition-overriding: true
   增加这个设置试试


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-spi-extensions] KeRan213539 commented on issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

Posted by GitBox <gi...@apache.org>.
KeRan213539 commented on issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49#issuecomment-942084133


   Sorry, because you didn't reply for a long time, we will close this PR first.
   Please feel free to reopen it if you have any question.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-spi-extensions] KeRan213539 edited a comment on issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

Posted by GitBox <gi...@apache.org>.
KeRan213539 edited a comment on issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49#issuecomment-924543946


   ```
   spring:
     main:
       allow-bean-definition-overriding: true
   ```
   增加这个设置试试


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-spi-extensions] KeRan213539 commented on issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

Posted by GitBox <gi...@apache.org>.
KeRan213539 commented on issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49#issuecomment-942084133


   Sorry, because you didn't reply for a long time, we will close this PR first.
   Please feel free to reopen it if you have any question.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-spi-extensions] KeRan213539 closed issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

Posted by GitBox <gi...@apache.org>.
KeRan213539 closed issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-spi-extensions] KeRan213539 closed issue #49: Dubbo-Doc无法兼容SpringCloudAlibaba

Posted by GitBox <gi...@apache.org>.
KeRan213539 closed issue #49:
URL: https://github.com/apache/dubbo-spi-extensions/issues/49


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org