Skip to content
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

[Issue] SpringStatusChecker execute errors on non-XML Spring configuration #3615

Closed
mercyblitz opened this issue Mar 7, 2019 · 2 comments
Closed
Assignees
Milestone

Comments

@mercyblitz
Copy link
Contributor

Environment

  • Dubbo version: ALL
  • Operating System version: ALL
  • Java version: ALL

Error code:

            while (cls != null && method == null) {
                try {
                    method = cls.getDeclaredMethod("getConfigLocations", new Class<?>[0]);
                } catch (NoSuchMethodException t) {
                    cls = cls.getSuperclass();
                }
            }
@mercyblitz mercyblitz self-assigned this Mar 7, 2019
@mercyblitz mercyblitz added this to the 2.7.1 milestone Mar 7, 2019
@WYongLin
Copy link

WYongLin commented Mar 7, 2019

这个问题,使用spring boot,然后使用import dubbo xml方式也是有这个问题。

mercyblitz added a commit to mercyblitz/dubbo that referenced this issue Mar 14, 2019
beiwei30 pushed a commit that referenced this issue Mar 15, 2019
* Polish /#3429 : Fix The NPE issue

* Polish /#3615 : SpringStatusChecker execute errors on non-XML Spring configuration

* Polish /#3193 : Change the default behavior of @EnableDubboConfig.multiple()
@dongdongzld
Copy link

这个问题依然存在,2.7.1,spring:UNKOWN
// [Issue] SpringStatusChecker execute errors on non-XML Spring configuration // issue : https://github.com/apache/incubator-dubbo/issues/3615 if(c instanceof GenericWebApplicationContext) { // ignore GenericXmlApplicationContext continue; }
c是一个GenericWebApplicationContext但被忽略了,右侧的注释是说忽略GenericXmlApplicationContext?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants