注册 登录
  • 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!

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

go 开心洋葱 3893次浏览 已收录 4个评论 手机上查看
文章索引目录
[隐藏]

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
[[email protected] elasticsearch-6.2.3]# 

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

您暂时无权访问此隐藏内容!

1.内容查看

查看价格:10 洋葱币

您需要先后,才能购买查看隐藏内容!

客服QQ:431910788#qq.com


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明elasticsearch 运行报错解决 Exception in thread “main”
喜欢 (0)
[开心洋葱]
分享 (0)
关于作者:
开心洋葱,开心洋葱头,水墨

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

(4)个小伙伴在吐槽
  1. 希望能解决问题吧
    cs2018-05-18 15:12 Windows 10 | Chrome 66.0.3359.181
  2. 非常感谢您的信息
    ownhp2018-05-18 09:51 Windows 10 | Chrome 55.0.2883.87
  3. 错误原因:elasticsearch.yml 文件内部错误 解决办法:仔细检查yml文件中的配置项书写格式: (空格)name:(空格)value
    yinlinke2018-04-03 11:50 Windows 10 | Chrome 58.0.3029.110
  4. 找两天了,希望能解决问题
    yinlinke2018-04-03 11:10 Windows 10 | Chrome 58.0.3029.110
加载中……