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 2018/07/17 10:28:57 UTC
[GitHub] hsl727261250 opened a new issue #2093: dubbo注解service与spring注解service同时在一个类上使用, 无法暴露服务
hsl727261250 opened a new issue #2093: dubbo注解service与spring注解service同时在一个类上使用, 无法暴露服务
URL: https://github.com/apache/incubator-dubbo/issues/2093
dubbo: 2.6.6
spring: 4.3.2
背景:
spring+dubbo项目, spring使用xml配置, 配置文件中打开dubbo注解扫描. dubbo使用注解配置. 整个项目没有使用事务, 没有使用Transactional注解.
症状:
1. 在一个类上同时使用dubbo的service注解和spring的service(或component)注解, 无法暴露dubbo服务.
2. 如果在其他类中使用Autowried注入该类当做spring服务使用, 则dubbo服务也可正常暴露.
3. 使用delay=-1配置, 依然无法暴露.
----------------------------------------------------------------
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:
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