Exception in thread “main” java.lang.NoClassDefFoundError: com/ibm/mq/MQException

前端 未结 2 1241
深忆病人
深忆病人 2021-01-21 02:58

I\'m getting below exception when i run my program as below,

java -jar MQprogram.jar

I have set classpath correctly which is referri

2条回答
  •  礼貌的吻别
    2021-01-21 03:51

    It means there's no JAR in your CLASSPATH that contains a .class file for com.ibm.mq.MQException.

    This is Java 101.

    This explains what to do about it.

    Finding this link was Google 101.

提交回复
热议问题