1

我正在使用 spring websphere 和 elasticsearch 开发一个 web 应用程序我想将我的 java 客户端 api 与 elasticsearch 连接,但是我得到了这个错误感谢你的帮助

[05/01/18 19:54:31:660 WET] 00000054 SystemErr     R ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R Exception in thread "elasticsearch[_client_][management][T#1]" java.lang.AbstractMethodError: org/elasticsearch/transport/TcpTransport.connectToChannels(Lorg/elasticsearch/cluster/node/DiscoveryNode;Lorg/elasticsearch/transport/ConnectionProfile;)Lorg/elasticsearch/transport/TcpTransport$NodeChannels;
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at org.elasticsearch.transport.TcpTransport.openConnection(TcpTransport.java:534)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at org.elasticsearch.transport.TcpTransport.openConnection(TcpTransport.java:116)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at org.elasticsearch.transport.TransportService.openConnection(TransportService.java:334)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1.doRun(TransportClientNodesService.java:507)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    [05/01/18 19:54:33:373 WET] 000000b9 SystemErr     R    at java.lang.Thread.run(Thread.java:785)

[05/

4

0 回答 0