How to add 3rd Party Jar File in Solution and Use its API
Hi,
I have written a DSL Plugin Solution in MPS which uses 3rd Party Java API(jar) to do some opeartion. I have imported the jar as java stubs and added the java stubs as imported modules in Dependency Tab and was able to compile successfully.However while running the plugin, I am getting NoClassDef error which means the classes are not loaded at runtime. Any Idea, how do I resolve this?
Cheers
Kunal
I have written a DSL Plugin Solution in MPS which uses 3rd Party Java API(jar) to do some opeartion. I have imported the jar as java stubs and added the java stubs as imported modules in Dependency Tab and was able to compile successfully.However while running the plugin, I am getting NoClassDef error which means the classes are not loaded at runtime. Any Idea, how do I resolve this?
Cheers
Kunal
Please sign in to leave a comment.
The process you followed is correct, it should work.
Thanks
Kunal