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 2019/07/24 03:34:19 UTC

[GitHub] [dubbo-samples] anLA7856 opened a new issue #108: Wrong reference config in dubbo-samples-configcenter-multiprotocol

anLA7856 opened a new issue #108: Wrong reference config in dubbo-samples-configcenter-multiprotocol
URL: https://github.com/apache/dubbo-samples/issues/108
 
 
   It reference a wrong interface:
   ```
   <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
          xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
          xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
          http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
       <context:property-placeholder/>
   
       <dubbo:application name="configcenter-multiprotocol-consumer"/>
   
       <dubbo:config-center address="zookeeper://${zookeeper.address:127.0.0.1}:2181"/>
   
       <dubbo:reference id="demoService" protocol="dubbo"
                        interface="org.apache.dubbo.samples.configcenter.api.DemoService"/>
   
   </beans>
   ```
   
   [https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/src/main/resources/spring/configcenter-consumer.xml](url)

----------------------------------------------------------------
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.
 
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