• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

elasticsearch 运行报错解决 Exception in thread “main”

go 开心洋葱 2612次浏览 16个评论

elasticsearch 运行报错解决 Exception in thread “main”

Exception in thread "main" 2018-03-23 11:03:44,430 main ERROR No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ParsingException[Failed to parse object: expecting token of type [START_OBJECT] but found [VALUE_STRING]];
        at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1187)
        at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1162)
        at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:99)
        at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
        at org.elasticsearch.cli.Command.main(Command.java:90)
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
Caused by: ParsingException[Failed to parse object: expecting token of type [START_OBJECT] but found [VALUE_STRING]]
        at org.elasticsearch.common.xcontent.XContentParserUtils.ensureExpectedToken(XContentParserUtils.java:78)
        at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:670)
        at org.elasticsearch.common.settings.Settings.access$500(Settings.java:82)
        at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1183)
        ... 8 more
[root@localhost elasticsearch-6.2.3]# 

注意:本段内容须成功“回复本文”后“刷新本页”方可查看!

注意:本段内容须成功“回复本文”后“刷新本页”方可查看!


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明elasticsearch 运行报错解决 Exception in thread “main”
喜欢 (4)

您必须 登录 才能发表评论!

(16)个小伙伴在吐槽
  1. 1222
    123admin2024-03-22 15:16
  2. 123
    123admin2024-03-22 15:16
  3. 1111
    hong1112023-03-17 20:56
  4. 解决问题
    dad2023-03-17 15:49
  5. ddd
    dad2023-03-17 15:48
  6. 看看
    459992242023-02-22 17:35
  7. 看看能解决问题么
    morikawa562022-11-08 09:03
  8. 看看解决方案
    morikawa562022-11-08 09:01
  9. 123
    xkfqwertyuiop2021-09-17 22:14
  10. 看看能解决问题么
    madpiye2021-06-21 10:06
  11. 看看能解决问题么
    qq22521022019-09-02 16:31
  12. 希望能解决问题吧
    cs2018-05-18 15:12
    • ??????发不了评论???
      qq22521022019-09-02 16:31
  13. 非常感谢您的信息
    ownhp2018-05-18 09:51
  14. 错误原因:elasticsearch.yml 文件内部错误 解决办法:仔细检查yml文件中的配置项书写格式: (空格)name:(空格)value
    yinlinke2018-04-03 11:50
  15. 找两天了,希望能解决问题
    yinlinke2018-04-03 11:10
加载中……