Skip to content

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

Closed

Description

@mercyblitz

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();
                }
            }

Activity

  1. self-assigned this
    on Mar 7, 2019
  2. added this to the 2.7.1 milestone on Mar 7, 2019
  3. WYongLin commented on Mar 7, 2019

    @WYongLin

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

  4. added a commit that references this issue on Mar 14, 2019
  5. added a commit that references this issue on Mar 15, 2019
  6. dongdongzld commented on Apr 25, 2019

    @dongdongzld

    这个问题依然存在,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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions