softxiang commented on issue #2215: 与spring结合使用时循环依赖导致事务失效问题
URL: 
https://github.com/apache/incubator-dubbo/issues/2215#issuecomment-411258157
 
 
   但是A和B之间还没有调用关系,只是做了申明就失效了
   
   如果把A、B都显式申明为dubbo service,A可以注入,B就注入不了
   
   如:在AServiceImpl、BServiceImpl将 a b循环依赖的@Autowired改为
   `@Reference(group = "test", version = "1.0.0")`
   后,测试方法中的
   ```java
   @Reference(group = "test", version = "1.0.0")
       private IBService ibService;
   ```
   注入为null

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to