我在 Mac OS 14.0.6 Elasticsearch 上安装了 brew。它必须是 ES V 6 - 而不是 7。但我也安装了 7 - 同样的错误。那么jdk一定有问题吗?一切运行良好后,我从命令开始elasticsearch,并在控制台中收到以下错误:
JAVA 版本:java -version java version "12.0.2" 2019-07-16 Java(TM) SE Runtime Environment (build 12.0.2+10) Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10 , 混合模式, 共享)
2019-08-19 20:19:13,173 main ERROR Unable to locate plugin type for ESJsonLayout
2019-08-19 20:19:13,173 main ERROR Unable to locate plugin type for ESJsonLayout
2019-08-19 20:19:13,174 main ERROR Unable to locate plugin type for ESJsonLayout
2019-08-19 20:19:13,202 main ERROR Unable to locate plugin for ESJsonLayout
2019-08-19 20:19:13,219 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.NullPointerException java.lang.NullPointerException
at org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor.findNamedNode(PluginElementVisitor.java:103)
at org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor.visit(PluginElementVisitor.java:87)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.injectFields(PluginBuilder.java:181)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:959)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:899)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:891)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:514)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:238)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:250)
慕的地10843
相关分类