While Starting Elasticsearch 6.3 ,got exception- java.lang.IllegalArgumentException: Invalid Configuration class specified Likely root cause: java.lang.NoSuchMethodError: org.apache.logging.log4j.core.config.AbstractConfiguration

Hi Everyone,

please help to resolve the below issue .
while starting the Elasticsearch 6.3 in , i have encountered the below exception

Exception in thread "main" java.lang.IllegalArgumentException: Invalid Configuration class specified Likely root cause: java.lang.NoSuchMethodError: org.apache.logging.log4j.core.config.AbstractConfiguration.(Lorg/apache/logging/log4j/core/LoggerContext;Lorg/apache/logging/log4j/core/config/ConfigurationSource;)V
at org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration.(BuiltConfiguration.java:58)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:172)
at org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:161)
at org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:57)
at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:294)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127)
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:93)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86)

would appreciate your suggestions and inputs to resolve this issue.

regards
Partha

Dear @Christian_Dahlqvist ,

Kindly provide your suggestion to resolve the issue

This forum is manned by volunteers, so please do not ping people not already involved in the thread. Also please be patient. If you have not received any answer with a few working days it it usually fine to bump the thread to get some more attention.

I do not know what this exception means, so you will need to wait for someone more knowledgeable in that are to have a look. The more detail and context you provide, the better the chance of getting a good response. Just showing an exception does not necessarily give anyone a lot to go on.

1 Like

As @Christian_Dahlqvist said, please provide all details about what you did.
May be you did some manual steps and removed/moved some files, or upgraded, or...

Hard to help here

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.