Posted: Thu Feb 25, 2010 3:01 pm Post subject: NoSuchMethodError
Chevalier
Joined: 18 Aug 2009 Posts: 403
I am using MQ 7 on Windows. I need to upgrade a client from java 1.5 to java 1.6 using the IBM Java executable
I can get the driver to work in java 1.5
So I change the command for the driver from
Code:
java -cp
to
Code:
java -Djava.ext.dirs=
The driver starts (it would not start in 1.6 without the above change, but I get the following error:
Code:
JMS Provider Name=IBM WebSphere MQ
Provider Version=7
Provider Major Version=7
Provider Minor Version=0
Exception in thread "Thread-6" java.lang.NoSuchMethodError: com/ibm/msg/client/j
ms/JmsSession.createQueue(Ljava/lang/String;)Ljavax/jms/Queue;
at com.ibm.mq.jms.MQSession.createQueue(MQSession.java:614)
at testType.JMS_PTP.setupMsgTransportProtocol(JMS_PTP.java:377)
at testType.JMS_PTP.run(JMS_PTP.java:818)
Exactly which MQ file is this looking for (if I know it may be easier to fix this)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum