wangenlu commented on issue #302: 包扫描路径写成dubbo.scan.base-packages时,无法暴露服务 URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/302#issuecomment-442937759 @ConditionalOnProperty( name = {"dubbo.scan.basePackages"} ) @ConditionalOnClass({ConfigurationPropertySources.class}) @Bean public ServiceAnnotationBeanPostProcessor serviceAnnotationBeanPostProcessor(Environment environment) { Set<String> packagesToScan = (Set)environment.getProperty("dubbo.scan.basePackages", Set.class, Collections.emptySet()); return new ServiceAnnotationBeanPostProcessor(packagesToScan); } 但是在{ "sourceType": "com.alibaba.boot.dubbo.autoconfigure.DubboScanProperties", "name": "dubbo.scan.base-packages", "description": "The basePackages to scan , the multiple-value is delimited by comma\n\n @see EnableDubbo#scanBasePackages()", "type": "java.util.Set<java.lang.String>" } 造成自动提示dubbo.scan.base-packages 导致dubbo.scan.basePackages 获取不到,希望能及早更新一下吧,这个稍不留神就容易出错
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
