Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ElasticsearchParseException[malformed, expected settings to start with 'object', instead was [VALUE_STRING]];
这个错就是参数的冒号前后没有加空格,加了之后就好,我找了好久这个问题;