You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "yexueyouling (GitHub)" <gi...@apache.org> on 2019/01/11 06:27:43 UTC

[GitHub] [incubator-dubbo-spring-boot-project] yexueyouling opened issue #381: 注解配置无效且无法启动

按照注解配置,使用Springboot,搭建了两个工程,一个消费者,一个服务者,并且创建了一个zookeeper容器。结构如下:

![image](https://user-images.githubusercontent.com/26735625/51016895-f7f38280-15ac-11e9-9367-1cceca276c05.png)

服务者可以正常启动。
消费者启动失败,有两个错误问题
1、@reference无法注入服务者的服务。
2、启动报错:Duplicate application configs: <dubbo:application name="service-dUbbo-custom" id="service-dUbbo-custom" /> and <dubbo:application qosEnable="false" />

完全不知道是什么原因。

源码:
消费者:https://github.com/yexueyouling/service-dobbo-custom.git
服务者:https://github.com/yexueyouling/service-dobbo-server.git

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/381 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] yexueyouling closed issue #381: 注解配置无效且无法启动

Posted by "yexueyouling (GitHub)" <gi...@apache.org>.
[ issue closed by yexueyouling ]

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/381 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-spring-boot-project] yexueyouling commented on issue #381: 注解配置无效且无法启动

Posted by "yexueyouling (GitHub)" <gi...@apache.org>.
> <dubbo:application name =“service-dUbbo-custom”id =“service-dUbbo-custom”qosEnable =“false”/>

不知道你说的是啥,关闭了。

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/381 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] cwdtom commented on issue #381: 注解配置无效且无法启动

Posted by "cwdtom (GitHub)" <gi...@apache.org>.
<dubbo:application name="service-dUbbo-custom" id="service-dUbbo-custom" qosEnable="false"/>

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/381 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org