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 2018/07/11 06:39:46 UTC

[GitHub] fengshi20102010 opened a new issue #226: dubbo自动化配置 base-packages 错误导致 无法暴露服务

fengshi20102010 opened a new issue #226: dubbo自动化配置 base-packages 错误导致 无法暴露服务
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/226
 
 
   版本:dubbo-spring-boot-starter:0.2.0
   ide:MyEclipse 2016
   
   问题:
   在application.yml配置 dubbo的时候,ide自动生成的扫描包路径为:
   dubbo:  
      scan:
         base-packages:
   
   实际上通过properties注入的名字应该为dubbo.scan.basePackages,导致无法扫描到basePackages,故而没有暴露出服务。将base-packages 修改为 basePackages后 发现成功暴露出服务。yml看起来类似:
   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:
users@infra.apache.org


With regards,
Apache Git Services

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