java|包扫描路径写成dubbo.scan.base-packages时,无法暴露服务

@ConditionalOnProperty(
name = {“dubbo.scan.basePackages”}
)
@ConditionalOnClass({ConfigurationPropertySources.class})
@bean
public ServiceAnnotationBeanPostProcessor serviceAnnotationBeanPostProcessor(Environment environment) {
Set 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”,
【java|包扫描路径写成dubbo.scan.base-packages时,无法暴露服务】“description”: “The basePackages to scan , the multiple-value is delimited by comma @see EnableDubbo#scanBasePackages()”,
“type”: “java.util.Set”
}
造成自动提示dubbo.scan.base-packages 导致dubbo.scan.basePackages 获取不到,希望能及早更新一下吧,这个稍不留神就容易出错

    推荐阅读