Exception in thread "main" 2019-04-28 03:53:04,339 main ERROR No log4j2 configuration file found.
SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ParsingException[Failed to parse object: expecting token of type [START_OBJECT] but found [VALUE_STRING]];
Caused by: ParsingException[Failed to parse object: expecting token of type [START_OBJECT] but found [VALUE_STRING]]
解决办法: ES的配置文件写错了,请尽量保持冒号前面没空格,后面一个空格,不要用tab键。