java handlerbase_引起:java.lang.NoSuchMethodError:org.elasticsearch.rest.BaseRestHandler

我使用“yum”将“elasticsearch”从1.3更新为1.4,我看到此错误信息显示出来。

您认为原因是什么?

[root@www3073gk elasticsearch]# ./bin/elasticsearch

Failed to configure logging...

org.elasticsearch.ElasticsearchException: Failed to load logging configuration

at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:125)

at org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:81)

at org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)

at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

Caused by: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/config

at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)

at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)

at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)

at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)

at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)

at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:97)

at java.nio.file.Files.readAttributes(Files.java:1686)

at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:109)

at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69)

at java.nio.file.Files.walkFileTree(Files.java:2602)

at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:115)

... 4 more

2

{1.4.0}: Initialization Failed ...

1) NoSuchMethodError[org.elasticsearch.rest.BaseRestHandler.(Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/client/Client;)V]

org.elasticsearch.common.inject.CreationException: Guice creation errors:

1) Error injecting constructor, java.lang.NoSuchMethodError: org.elasticsearch.rest.BaseRestHandler.(Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/client/Client;)V

at org.codelibs.elasticsearch.reindex.rest.ReindexRestAction.(Unknown Source)

while locating org.codelibs.elasticsearch.reindex.rest.ReindexRestAction

3

Caused by: java.lang.NoSuchMethodError: org.elasticsearch.rest.BaseRestHandler.(Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/client/Client;)V

at org.codelibs.elasticsearch.reindex.rest.ReindexRestAction.(ReindexRestAction.java:30)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值