Hello Team, we are facing below while loading one of our custom plugin into Elasticsearch 8.4.1. Kindly need your valuable inputs on below issue..
Exception in thread "main" java.lang.IllegalStateException: failed to load plugin authenticator due to jar hell
at org.elasticsearch.plugins.PluginsUtils.checkBundleJarHell(PluginsUtils.java:267)
at org.elasticsearch.plugins.PluginsUtils.preInstallJarHellCheck(PluginsUtils.java:203)
at org.elasticsearch.plugins.cli.InstallPluginAction.jarHellCheck(InstallPluginAction.java:891)
at org.elasticsearch.plugins.cli.InstallPluginAction.loadPluginInfo(InstallPluginAction.java:868)
at org.elasticsearch.plugins.cli.InstallPluginAction.installPlugin(InstallPluginAction.java:899)
at org.elasticsearch.plugins.cli.InstallPluginAction.execute(InstallPluginAction.java:250)
at org.elasticsearch.plugins.cli.InstallPluginCommand.execute(InstallPluginCommand.java:89)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:54)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:94)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
at org.elasticsearch.cli.Command.main(Command.java:50)
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:64)
Caused by: java.lang.IllegalStateException: jar hell!
class: org.apache.http.Consts
jar1: /test/shared/Elasticsearch8-1.0.0/modules/x-pack-core/httpcore-4.4.13.jar
jar2: /test/config/elasticsearch8/nodes/dv01/plugins/.installing-6728363645143312652/httpcore-4.4.12.jar
at org.elasticsearch.jdk.JarHell.checkClass(JarHell.java:315)
at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:233)
at org.elasticsearch.plugins.PluginsUtils.checkBundleJarHell(PluginsUtils.java:248)
... 12 more