Exception in thread "main" java.lang.IllegalStateException: jar hell!
class: com.fasterxml.jackson.core.Base64Variant
jar1: E:\elasticsearch-5.6.5\elasticsearch-5.6.5\plugins.installing-122613154582084753\jackson-core-2.8.6.jar
jar2: E:\elasticsearch-5.6.5\elasticsearch-5.6.5\lib\jackson-core-2.8.6.jar
at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:282)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:192)
at org.elasticsearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:558)
at org.elasticsearch.plugins.InstallPluginCommand.verify(InstallPluginCommand.java:527)
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:570)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:218)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:202)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
trying to use in Custom Plugin.