# Logstash Error: java.lang.NoClassDefFoundError: Could not initialize class org.logstash.config.ir.compiler.ComputeStepSyntaxElement

**URL:** <https://discuss.elastic.co/t/logstash-error-java-lang-noclassdeffounderror-could-not-initialize-class-org-logstash-config-ir-compiler-computestepsyntaxelement/212261>\
**Category:** Logstash\
**Created:** [December 18, 2019, 5:18am UTC](https://discuss.elastic.co/t/logstash-error-java-lang-noclassdeffounderror-could-not-initialize-class-org-logstash-config-ir-compiler-computestepsyntaxelement/212261 "2019-12-18T05:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![katara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/katara/32/60143_2.png) [@katara](https://discuss.elastic.co/u/katara)\
**Post date:** [December 18, 2019, 5:18am UTC](https://discuss.elastic.co/t/logstash-error-java-lang-noclassdeffounderror-could-not-initialize-class-org-logstash-config-ir-compiler-computestepsyntaxelement/212261/1 "2019-12-18T05:18:10Z")

</div>

Hi I just set up a filebeat to reach logstash and im getting the below error:

> ```
> [2019-12-18T00:14:32,748][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["//myip:9200"]}
> [2019-12-18T00:14:32,793][INFO][logstash.outputs.elasticsearch] Using default mapping template
> [2019-12-18T00:14:32,826][WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been create for key: cluster_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.
> [2019-12-18T00:14:32,829][INFO][logstash.javapipeline] Starting pipeline {:pipeline_id=>"appd", "pipeline.workers"=>8, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>1000, :thread=>"#<Thread:0x5e56cac3 run>"}
> [2019-12-18T00:14:32,869][INFO][logstash.inputs.http_poller] Registering http_poller Input {:type=>nil, :schedule=>{"cron"=>"* * * * * UTC"}, :timeout=>nil}
> [2019-12-18T00:14:32,892][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage_template=>{"index_patterns"=>"logstash-*", "version"=>60001, "settings"=>{"index.refresh_interval"=>"5s", "number_of_shards"=>1}, "mappings"=>{"dynamic_templates"=>[{"message_field"=>{"path_match"=>"message", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false}}}, {"string_fields"=>{"match"=>"*", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false, "fields"=>{"keyword"=>{"type"=>"keyword", "ignore_above"=>256}}}}}], "properties"=>{"@timestamp"=>{"type"=>"date"}, "@version"=>{"type"=>"keyword"}, "geoip"=>{"dynamic"=>true, "properties"=>{"ip"=>{"type"=>"ip"}, "location"=>{"type"=>"geo_point"}, "latitude"=>{"type"=>"half_float"}, "longitude"=>{"type"=>"half_float"}}}}}}}
> [2019-12-18T00:14:32,904][INFO][logstash.javapipeline] Pipeline started {"pipeline.id"=>"appd"}
> [2019-12-18T00:14:32,989][INFO][logstash.agent] Pipelines running {:count=>1, :running_pipelines=>[:appd], :non_running_pipelines=>[]}
> [2019-12-18T00:14:32,990][ERROR][org.logstash.Logstash] java.lang.NoClassDefFoundError: Could not initialize class org.logstash.config.ir.compiler.ComputeStepSyntaxElement
> [2019-12-18T00:14:44,097][INFO][logstash.runner] Starting Logstash {"logstash.version"=>"7.2.0"}
> 
> ```

my logstash conf:

> ```
> input {
> beats {
> port => 5044
> ssl => false
> }
> }
> output {
> elasticsearch {
> hosts => ["myip:9200"]
> index => "pearsonlogsoasis"
> }
> stdout { codec => rubydebug }
> }
> 
> ```

please help me out. im not sure what the cause is.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![katara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/katara/32/60143_2.png) [@katara](https://discuss.elastic.co/u/katara)\
**Post date:** [December 19, 2019, 9:52am UTC](https://discuss.elastic.co/t/logstash-error-java-lang-noclassdeffounderror-could-not-initialize-class-org-logstash-config-ir-compiler-computestepsyntaxelement/212261/2 "2019-12-19T09:52:57Z")

</div>

Team,  
Apologies for the reminder,  
This is an issue im not able to find the reason for, Kindly help me out with the same.

thanks 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:** [January 16, 2020, 9:52am UTC](https://discuss.elastic.co/t/logstash-error-java-lang-noclassdeffounderror-could-not-initialize-class-org-logstash-config-ir-compiler-computestepsyntaxelement/212261/3 "2020-01-16T09:52:57Z")

</div>

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