zonghaishang commented on a change in pull request #1570: [Dubbo-fixed 
annotation demo fail to start].
URL: https://github.com/apache/incubator-dubbo/pull/1570#discussion_r180722008
 
 

 ##########
 File path: 
dubbo-test/dubbo-test-examples/src/main/java/com/alibaba/dubbo/examples/annotation/AnnotationConsumer.java
 ##########
 @@ -39,7 +39,7 @@ public static void main(String[] args) throws Exception {
     }
 
     @Configuration
-    @EnableDubbo(scanBasePackages = 
"com.alibaba.dubbo.examples.annotation.action", multipleConfig = true)
 
 Review comment:
   The default annotation supports dubbo.application and other singular forms, 
eg: dubbo.registry.xx;
   If you use multipleConfig=true, you need to use this form 
dubbo.applications.xx, as a demo, using the default is appropriate.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to