The type com.ibm.mq.MQException cannot be resolved. It is indirectly referenced from required .class files

3.7k Views Asked by At

I am getting a compilation error in eclipse Juno....

The type com.ibm.mq.MQException cannot be resolved. It is indirectly referenced from required .class files

I am using java 1.6

Can anyone tell me how to resolve this?

1

There are 1 best solutions below

5
On

Add the library containing said class into your classpath.

com.ibm.mq.MQException is in com.ibm.mq.jmqi.jar in MQ 7.