# How to resolve jar dependencies in logstash

**URL:** <https://discuss.elastic.co/t/how-to-resolve-jar-dependencies-in-logstash/80245>\
**Category:** Logstash\
**Created:** [March 28, 2017, 6:18am UTC](https://discuss.elastic.co/t/how-to-resolve-jar-dependencies-in-logstash/80245 "2017-03-28T06:18:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaishnavi](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vaishnavi](https://discuss.elastic.co/u/vaishnavi)\
**Post date:** [March 28, 2017, 6:18am UTC](https://discuss.elastic.co/t/how-to-resolve-jar-dependencies-in-logstash/80245/1 "2017-03-28T06:18:29Z")

</div>

Hi  
I am using jruby 1.7.25 and centos 7.0  
I am not able to resolve jar dependency while importing custom plugins in logstash..I also included gems ruby-maven,jar-dependencies.Did I need to include any new plugins

> [ERROR] [ERROR] Some problems were encountered while processing the POMs:  
> [FATAL] Non-parseable POM /usr/local/rvm/gems/jruby-1.7.25/gems/jar-dependencies-0.3.11/lib/jars/lock\_down\_pom.rb: only whitespace content allowed before start tag and not # (position: START\_DOCUMENT seen #... @1:1) @ line 1, column 1  
> @  
> [ERROR] The build could not read 1 project -\> [Help 1]  
> [ERROR]  
> [ERROR] The project (/usr/local/rvm/gems/jruby-1.7.25/gems/jar-dependencies-0.3.11/lib/jars/lock\_down\_pom.rb) has 1 error  
> [ERROR] Non-parseable POM /usr/local/rvm/gems/jruby-1.7.25/gems/jar-dependencies-0.3.11/lib/jars/lock\_down\_pom.rb: only whitespace content allowed before start tag and not # (position: START\_DOCUMENT seen #... @1:1) @ line 1, column 1 -\> [Help 2]  
> [ERROR]  
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.  
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.  
> [ERROR]  
> [ERROR] For more information about the errors and possible solutions, please read the following articles:  
> [ERROR] [Help 1] [ProjectBuildingException - Apache Maven - Apache Software Foundation](http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException)  
> [ERROR] [Help 2] [ModelParseException - Apache Maven - Apache Software Foundation](http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException)

Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [March 31, 2017, 1:31pm UTC](https://discuss.elastic.co/t/how-to-resolve-jar-dependencies-in-logstash/80245/2 "2017-03-31T13:31:31Z")

</div>

Hello,

I will need a bit more details to be able to help you on that.

- What version of logstash are you running?
- How did you try to install you custom plugin?
- Are you running behind a firewall? (air gap system)
- Can you include the _gemspec_ of your custom plugin?

---

<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:** [April 28, 2017, 1:31pm UTC](https://discuss.elastic.co/t/how-to-resolve-jar-dependencies-in-logstash/80245/3 "2017-04-28T13:31:30Z")

</div>

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