作者: | 来源:互联网 | 2023-07-01 12:18
ERRORStatusLoggerNoLog4j2configurationfilefound.Usingdefaultconfiguration(loggingonlyerror
ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
Exception in thread "main" java.lang.NoSuchFieldError: LUCENE_7_0_0
at org.elasticsearch.Version.(Version.java:61)
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:121)
at org.elasticsearch.client.transport.TransportClient.newPluginService(TransportClient.java:112)
at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:137)
at org.elasticsearch.client.transport.TransportClient.(TransportClient.java:298)
at org.elasticsearch.transport.client.PreBuiltTransportClient.(PreBuiltTransportClient.java:119)
at org.elasticsearch.transport.client.PreBuiltTransportClient.(PreBuiltTransportClient.java:105)
at org.elasticsearch.transport.client.PreBuiltTransportClient.(PreBuiltTransportClient.java:95)
at ElasticsSearchUtil.cilentFactory(ElasticsSearchUtil.java:43)
at ElasticsSearchUtil.main(ElasticsSearchUtil.java:59)