The problem was solved by using maven-shade-plugin
https://docs.aws.amazon.com/lambda/latest/dg/java-create-jar-pkg-maven-and-eclipse.html
Thanks,
Hello,
I am new to the API.
I have coded up an EMA consumer application in a Maven project (with the pom.xml including the java dependencies).
However, when I run the .jar built from the project. I got a NoClassdefFoundError.
Exception in thread "main" java.lang.NoClassDefFoundError: com/thomsonreuters/ema/access/OmmException
It looks to me that the stand-along java application can not find the necessary supporting classes.
Could you advise how to find these java dependencies or how to deploy the application?
Hi @xiaowei.wang The latest version of EMA uses Gradle build tool. It is possible to create your own build environment using Ant/script/make etc as you desire. A developer will have to include the jar files from the EMA and ETA and Elektron SDK BinaryPack lib directory into the classpath.
Let us know, if you need help doing so.