# Problem with logstash:name error

**URL:** <https://discuss.elastic.co/t/problem-with-logstash-name-error/129996>\
**Category:** Logstash\
**Created:** [April 30, 2018, 8:47am UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996 "2018-04-30T08:47:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiem](https://avatars.discourse-cdn.com/v4/letter/w/c2a13f/32.png) [@wiem](https://discuss.elastic.co/u/wiem)\
**Post date:** [April 30, 2018, 8:47am UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996/1 "2018-04-30T08:47:05Z")

</div>

Need help SOS!  
i have been using Logstash for 2 months now .2days ago out of nowhere a problem appeared that i can't find its origin:

logstash- java.lang.illegalStateException:org.jruby.exceptions.RaiseException : cannot load Java class org.apache.http.client.methods.HttpRequestBase

I'm working with logstash 6.2.2 .I tried the 6.2.4 release but same problem.

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [May 2, 2018, 6:42am UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996/2 "2018-05-02T06:42:39Z")

</div>

How are you acquiring Logstash? Are you building from source, or did you download a package? If so, which package (and, did you use a package manager like dpkg, apt, or yum)?

- what version of Java?

```auto
java -version

```

- is `JAVA_HOME` set?

```auto
echo $JAVA_HOME

```

- what operating system?

---

<div class="post-metadata">

**Author:** ![wiem](https://avatars.discourse-cdn.com/v4/letter/w/c2a13f/32.png) [@wiem](https://discuss.elastic.co/u/wiem)\
**Post date:** [May 2, 2018, 5:06pm UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996/3 "2018-05-02T17:06:40Z")

</div>

Hello  
I'm using windows 7.

I have downloaded logstash 's zip file. Unziped it and run it via the command line. Also my JAVA\_HOME is well set.

Ps : logstash have been working perfectly fine for two months so i know its not a configuration issue.

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [May 2, 2018, 11:42pm UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996/4 "2018-05-02T23:42:49Z")

</div>

does the error indicate in any way that it is coming from a plugin (e.g., an `input`, `output`, or `filter`) that you are using, and if so, have you made any recent changes to your pipeline configuration to invoke new plugins? You may need to pass the `--log.level=debug` flag when starting Logstash to get it to give you backtraces.

If the error _is_ coming from a plugin, knowing which version of the plugin will help us replicate:

```auto
bin/logstash-plugin list --verbose

```

---

<div class="post-metadata">

**Author:** ![wiem](https://avatars.discourse-cdn.com/v4/letter/w/c2a13f/32.png) [@wiem](https://discuss.elastic.co/u/wiem)\
**Post date:** [May 8, 2018, 8:28am UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996/5 "2018-05-08T08:28:31Z")

</div>

hello  
actually i didn't do anything to my configuration and tried uninstalling and reinstlling my plugins .i think the problem was with my Java.

I formatted my pc and reconfigured everything and its working fine. Thank you for your time.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 5, 2018, 8:28am UTC](https://discuss.elastic.co/t/problem-with-logstash-name-error/129996/6 "2018-06-05T08:28:35Z")

</div>

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