When i execute in terminal ./logstash -f logstash.conf
it give me the next error
NameError: cannot load Java class org.apache.http.client.methods.HttpRequestBase
for_name at org/jruby/javasupport/JavaClass.java:204
get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
java_import at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/java/core_ext/object.rb:27
map at org/jruby/RubyArray.java:2414
java_import at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/java/core_ext/object.rb:22
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/java_extensions.rb:1
require at org/jruby/RubyKernel.java:1040
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65
(root) at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:1
require_relative at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:13
Manticore at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb:44
require at org/jruby/RubyKernel.java:1040
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb:14
require at org/jruby/RubyKernel.java:1040
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/manticore.rb:1
require at org/jruby/RubyKernel.java:1040
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/manticore.rb:1
require at org/jruby/RubyKernel.java:1040
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65
(root) at /home/yonder/Descargas/logstash-5.6.8/logstash-core/lib/logstash/elasticsearch_client.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /home/yonder/Descargas/logstash-5.6.8/lib/bootstrap/environment.rb:70
I have tried with different versions with the same result, please i really need the help
Thanks