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

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

Thanks in advance!




Best Answer

Answers

  • 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.