-
Notifications
You must be signed in to change notification settings - Fork 26.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DubboComponentScan cannot backward support for alibaba @Service and @Reference. #4330
Closed
2 tasks done
Comments
Is it because @DubboComponentScan scans into the context that the class declared by @service is not injected? Recently watching |
I think you have introduced dubbo-compatible jar. And I think If you want to keep @service and @reference in com.alibaba package, you can put @CompatibleDubboComponentScan together with @DubboComponentScan. If you still have some problem, let me know. |
mercyblitz
added a commit
to mercyblitz/dubbo
that referenced
this issue
Jun 20, 2019
mercyblitz
added a commit
to mercyblitz/dubbo
that referenced
this issue
Jun 24, 2019
mercyblitz
added a commit
to mercyblitz/dubbo
that referenced
this issue
Jun 26, 2019
mercyblitz
added a commit
to mercyblitz/dubbo
that referenced
this issue
Jun 27, 2019
chickenlj
pushed a commit
that referenced
this issue
Jul 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Steps to reproduce this issue
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
The DubboComponentScan should backward compatible with alibaba @service and @reference.
Actual Result
It's incompatible with alibaba @service and @reference.
If there is an exception, please attach the exception trace:
The service have not thrown any exception, consumer will throw no provider exception as service not started.
The text was updated successfully, but these errors were encountered: