# Error: Could not find or load main class version

**URL:** <https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-version/197489>\
**Category:** Logstash\
**Created:** [August 30, 2019, 10:17am UTC](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-version/197489 "2019-08-30T10:17:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [August 30, 2019, 10:17am UTC](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-version/197489/1 "2019-08-30T10:17:01Z")

</div>

Hello,

Recently installed latest version (7.3.1) of ES stack (Kibana, logstash and elastic search). And after that when i am running my logstash config file which is using jdbc input plugin to fetch data from database, i am getting below mentioned error.  
Error: Could not find or load main class version.

Java version using 1.8.0\_111.

Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![mepitkan](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mepitkan](https://discuss.elastic.co/u/mepitkan)\
**Post date:** [September 10, 2019, 4:46am UTC](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-version/197489/2 "2019-09-10T04:46:39Z")

</div>

Hi,

We had the similar kind of problem after upgradeing to v7.3.1.

As a workaround, we did the following: [https://github.com/logstash-plugins/logstash-input-jdbc/issues/337](https://github.com/logstash-plugins/logstash-input-jdbc/issues/337) .

To me, this looks like a bug in the version, but I do not know whether it has been reported as a bug and whether it will be fixed.

Hopefully this helps?!

Best regards,

MeMa

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [September 10, 2019, 11:24am UTC](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-version/197489/3 "2019-09-10T11:24:58Z")

</div>

Hello mepitkan,

Thanks for reply!!!  
I tried with mentioned solution but still i am getting same error.

Regards.  
Priyanka Yerunkar.

---

<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:** [October 8, 2019, 11:25am UTC](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-version/197489/4 "2019-10-08T11:25:06Z")

</div>

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