NoSuchMethodError:com.google.common.util.concurrent.MoreExecutors.directExecutor在elasticsearchjar中发生

NoSuchMethodError:com.google.common.util.concurrent.MoreExecutors.directExecutor在elasticsearchjar中发生,第1张

NoSuchMethodError:com.google.common.util.concurrent.MoreExecutors.directExecutor在elasticsearchjar中发生

您应该尝试查找番石榴的“旧”版本的来源,并将其全部排除一次。

查找依赖项:

mvn dependency:tree | grep guava

排除它:

<dependency>  <groupId>org.whatever</groupId>  <artifactId>the_lib_that_includes_guava</artifactId>  <version>0.97</version>  <exclusions>    <exclusion>      <artifactId>com.google</artifactId>      <groupId>guava</groupId>    </exclusion>  </exclusions></dependency>

有关依赖性排除的更多信息,请参见https://maven.apache.org/guides/introduction/introduction-to-
optional-and-excludes-
dependencies.html



欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/4905448.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-12
下一篇2022-11-12

发表评论

登录后才能评论

评论列表(0条)

    保存