# Lostash Plugins Failing with some Dependency error

**URL:** https://discuss.elastic.co/t/lostash-plugins-failing-with-some-dependency-error/136258
**Category:** Logstash
**Created:** [June 18, 2018, 7:56am UTC](https://discuss.elastic.co/t/lostash-plugins-failing-with-some-dependency-error/136258 "2018-06-18T07:56:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![prakash1243](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@prakash1243](https://discuss.elastic.co/u/prakash1243)
#### Post date: [June 18, 2018, 7:56am UTC](https://discuss.elastic.co/t/lostash-plugins-failing-with-some-dependency-error/136258/1 "2018-06-18T07:56:30Z")

</div>

Hello-  
I cloned many logstash plugins and executed the specs, but I get the jars dependency issues.

```auto
An error occurred while loading ./spec/unit/outputs/elasticsearch_spec.rb.
Failure/Error: require "logstash/devutils/rspec/spec_helper"

RuntimeError:

  	you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command

  no such file to load -- com/fasterxml/jackson/module/jackson-module-afterburner/2.7.4/jackson-module-afterburner-2.7.4 (LoadError)

```

Could someone help me out with this.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [June 18, 2018, 8:17am UTC](https://discuss.elastic.co/t/lostash-plugins-failing-with-some-dependency-error/136258/2 "2018-06-18T08:17:21Z")

</div>

More details please. Which JRuby? What's the complete sequence of commands you ran?

---

<div class="post-metadata">

### Author: ![prakash1243](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@prakash1243](https://discuss.elastic.co/u/prakash1243)
#### Post date: [June 18, 2018, 8:28am UTC](https://discuss.elastic.co/t/lostash-plugins-failing-with-some-dependency-error/136258/3 "2018-06-18T08:28:43Z")

</div>

Hi @magnusbaeck-  
Here are the Version details-

```auto
jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 Java HotSpot(TM) 64-Bit Server VM 25.11
1-b14 on 1.8.0_111-b14 +jit [mswin32-x86_64]

ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]

java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

And Logstash had been set as ENV. Variable with Version 6.1.1

```

I ran bundle install which was successful and created gemlock file; installed rspec it was also fine.  
and when I run any of the spec file, I get this dependencies issues. Please let me know if am missing anything. Thank !

---

<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: [July 16, 2018, 8:28am UTC](https://discuss.elastic.co/t/lostash-plugins-failing-with-some-dependency-error/136258/4 "2018-07-16T08:28:47Z")

</div>

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