How do you interpret “java.lang.NoSuchMethodError: No direct method”?

前端 未结 2 632
鱼传尺愫
鱼传尺愫 2021-01-17 17:25

We decided, perhaps naively, that we should update many of our libraries from two-year-old 1.12.0-betas to nice new versions 1.20.0. For example: we updated google-http-clie

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-17 18:12

    It just means that a constructor for AbstractGoogleJsonClient with a particular argument list wasn't available.

    Check your super() calls for your subclass(es) of AbstractGoogleJsonClient and make sure you don't need to update the argument list to match your updated libraries.

    If that's not in your source code, then there may be a library version dependency issue with Google API client library.

提交回复
热议问题