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 2022/02/11 01:22:19 UTC
[GitHub] [dubbo] dongmaxiang edited a comment on issue #9672: dubbo 2.7.15配置文件中的dubbo.scan.base-packages失效
dongmaxiang edited a comment on issue #9672:
URL: https://github.com/apache/dubbo/issues/9672#issuecomment-1035700290
> In most case,this bean init in `DubboRelaxedBindingAutoConfiguration`.Btw, can you provide provide a demo to reproduce i?
>
> ```
> @ConditionalOnMissingBean(name = BASE_PACKAGES_BEAN_NAME)
> @Bean(name = BASE_PACKAGES_BEAN_NAME)
> public Set<String> dubboBasePackages(Environment environment) {
> PropertyResolver propertyResolver = dubboScanBasePackagesPropertyResolver(environment);
> return propertyResolver.getProperty(BASE_PACKAGES_PROPERTY_NAME, Set.class, emptySet());
> }
> ```
Sorry, I posted the wrong code, it should be @conditionalonmissingBean, I hava corrected issue
--
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