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

[GitHub] [incubator-dubbo] yaodongfei opened issue #3201: 关于用注解方式 @Reference注入,dubbo服务对象为null的问题

  @Reference(version = "1.0.0", check = false, lazy = true,mock = "")
在此方式启用了mock参数注入,dubbo服务就会为null。去掉,是可以正常注入的。

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

[GitHub] [incubator-dubbo] Kiddinglife commented on issue #3201: 关于用注解方式 @Reference注入,dubbo服务对象为null的问题

Posted by "Kiddinglife (GitHub)" <gi...@apache.org>.
Hi @yaodongfei,
Can you give more details about your source codes? 
i am quite interesting at your next line after @refernence.
regards.

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


[GitHub] [incubator-dubbo] Kiddinglife commented on issue #3201: 关于用注解方式 @Reference注入,dubbo服务对象为null的问题

Posted by "Kiddinglife (GitHub)" <gi...@apache.org>.
Hi @yaodongfei,
Can you give more details about your source codes?
regards.

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


[GitHub] [incubator-dubbo] yaodongfei commented on issue #3201: 关于用注解方式 @Reference注入,dubbo服务对象为null的问题

Posted by "yaodongfei (GitHub)" <gi...@apache.org>.
依赖dubbo版本  <dependency>
			<groupId>com.alibaba.boot</groupId>
			<artifactId>dubbo-spring-boot-starter</artifactId>
			<version>0.2.0</version>
		</dependency>

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

[GitHub] [incubator-dubbo] Kiddinglife commented on issue #3201: 关于用注解方式 @Reference注入,dubbo服务对象为null的问题

Posted by "Kiddinglife (GitHub)" <gi...@apache.org>.
Hi @yaodongfei,
Can you give more details about your source codes? 
i am quite interesting at your next line of code after @refernence.
regards.

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