I am using MQseries 5.2 on WInNT, with MQseries Java claases at ver ""MQSeries classes for Java V5.2.0" and the JDK version
"java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Server VM (build 2.0fcs-E, mixed mode)"
The problem which I am facing is that when I am issuing a MQEnvironment.hostname I am getting the following error
Exception in thread "main" java.lang.NoClassDefFoundError: javax/resource/Resour
ceException
at com.ibm.mq.MQEnvironment.<clinit>(MQEnvironment.java:224)
at WriteQ.main(WriteQ.java:36)
Also if I try to directly connect to my Queuemanager using new QueueManager("Default queuemanager")I am getting the same exception.
Can anyone pls provide me the input on this and how to solve this problem.
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