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
3 comments
Hi Kunal,

The process you followed is correct, it should work.
0
Kunal, have you set the "Solution Kind" on the Java tab to "Other"?
0
Vaclav, Yes I have set the Solution Kind on Java Tab to Other and it worked!!!
Thanks
Kunal
0

Please sign in to leave a comment.