question

Upvotes
Accepted
2 0 0 3

Exception in thread "main" java.lang.NoClassDefFoundError: com/thomsonreuters/ema/access/OmmException

Getting an exception when running through executable jar. working fine when running on IDE.

Thanks in advance!




elektronrefinitiv-realtimeelektron-sdkOMM
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
9.5k 10 5 7

Hello @bmahajan

It seemed that you did not include EMA Jar file so you got java.lang.NoClassDefFoundError: com/thomsonreuters/ema/access/OmmException. You can set up build environment as outlined in the ESDK Build System. Then, you can start EMA Quick Start to consume data.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
13k 32 12 18

Hi @bmahajan, You didn't specify which API you are using with Elektron. Is it EMA or Java RFA. For EMA, please see the tutorial on how to setup the build environment here. This will include all the JAR files in the classpath.

For RFA, see this quick start on how to use the bat/sh files for compiling and running the examples that ship with the SDK.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea