You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "xiaobzhou (GitHub)" <gi...@apache.org> on 2018/12/13 06:18:56 UTC

[GitHub] [incubator-dubbo] xiaobzhou opened issue #2953: springboot集成dubbo @Reference注入值为null

springboot集成dubbo(dubbo-spring-boot-starter:0.2.0)采用注解配置,在@com.alibaba.dubbo.config.annotation.Service的服务类中用@Reference注入另一个服务接口为null。请问这是什么原因?

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

[GitHub] [incubator-dubbo] tswstarplanet commented on issue #2953: springboot集成dubbo @Reference注入值为null

Posted by "tswstarplanet (GitHub)" <gi...@apache.org>.
好像之前有人提过一个类似的issue,好像是要同时配置为spring的bean吧

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

[GitHub] [incubator-dubbo] beiwei30 closed issue #2953: springboot集成dubbo @Reference注入值为null

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

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


[GitHub] [incubator-dubbo] sylartp commented on issue #2953: springboot集成dubbo @Reference注入值为null

Posted by "sylartp (GitHub)" <gi...@apache.org>.
@xiaobzhou  能补充一些详细的内容么,比如配置文件、相应service实现类

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

[GitHub] [incubator-dubbo] xiaobzhou commented on issue #2953: springboot集成dubbo @Reference注入值为null

Posted by "xiaobzhou (GitHub)" <gi...@apache.org>.
@sylartp @gudegg 我现在也可以了,配置没改,提问题的时候也重启了2次都为空后来也没问题了。

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

[GitHub] [incubator-dubbo] gudegg commented on issue #2953: springboot集成dubbo @Reference注入值为null

Posted by "gudegg (GitHub)" <gi...@apache.org>.
@xiaobzhou 多提供点信息,我测了没问题

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