Error : LS2J Error: Threw java.lang.NoSuchMethodError: com.ibm.mq.MQMsg2: method getMessageData()[B not found

When I try to run my agent that makes use of LS2J to call the java)-classes for MQ, I get the error above.

In my Notes client it works perfectly.