I'm trying to use ibm mq jars for my project, I add them to the classpath using module settings. but the problem is when i run the project using intellij ide it fails with mqdata exception no class def found error. however, when i run it using java -classpath it works fine!
I compared the command line that intellij generates with what i run and it seems intellij does not include the classpath of the jar that gets generated after i build my project. could this be an issue?
how to fix this error?
thanks for answering in advance!