es升级问题
2021-01-22 本文已影响0人
爲誰而来
The following method did not exist: org.elasticsearch.common.logging.Loggers.getLogger(Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;
是因为 org.elasticsearch.client 包中引入了低版本的 transport-netty4-client jar,把 elasticsearch包 中 排除掉,重新引入 transport-netty4-client 包,和
elasticsearch 版本保持一致即可。
![](https://img.haomeiwen.com/i13984834/65003c6b5087417a.png)