473,385 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION

Can anybody help me on this? I am getting the below error but have not
got a clue why. The file in my classpath eing used has the class that
it says is not defined. Any ideas? I am running java version 1.4.0 and
WMQ Series version 5.3 with CSD04.

Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONS erver.java:67)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:241 )
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManaged ConnectionJ11.java:
148)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._ createManagedConnec
tion(MQBindingsManagedConnectionFactoryJ11.java:13 6)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.c reateManagedConnect
ion(MQBindingsManagedConnectionFactoryJ11.java:154 )
at com.ibm.mq.StoredManagedConnection.<init>(StoredMa nagedConnection.jav
a:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConne ction(MQSimpleConne
ctionManager.java:150)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager (MQQueueManager.jav
a:649)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager .java:598)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.ja va:375)

Thanks to anybody who can help.
Andy
Jul 17 '05 #1
1 9091
an**************@uk.ibm.com (Andy Howells) wrote in message news:<bd**************************@posting.google. com>...
Can anybody help me on this? I am getting the below error but have not
got a clue why. The file in my classpath eing used has the class that
it says is not defined. Any ideas? I am running java version 1.4.0 and
WMQ Series version 5.3 with CSD04.

Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONS erver.java:67)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:241 )
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManaged ConnectionJ11.java:
148)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._ createManagedConnec
tion(MQBindingsManagedConnectionFactoryJ11.java:13 6)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.c reateManagedConnect
ion(MQBindingsManagedConnectionFactoryJ11.java:154 )
at com.ibm.mq.StoredManagedConnection.<init>(StoredMa nagedConnection.jav
a:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConne ction(MQSimpleConne
ctionManager.java:150)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager (MQQueueManager.jav
a:649)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager .java:598)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.ja va:375)

Thanks to anybody who can help.
Andy

Classpath for packaged classes can have intricate issues. I recommend
you to read J2SE standard doc /tooldocs/solaris/classpath.html,
especially the last part of the doc.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phillip Montgomery | last post by:
Hello all; I'm trying to debug an issue with a java script called, SelectSockets. It appears to be a fairly common one found on the web. I downloaded the SGI Java v1.4.1 installation from SGI's...
7
by: news | last post by:
I am pretty new to Java and I just install the JDK1.4.2 03 I am getting an error when I run the class file TestChart.class with the java.exe: Exception in thread "main"...
4
oll3i
by: oll3i | last post by:
when i try to run the client application java HelloClient -ORBInitialPort 1050 -ORBInitialHost localhost i get an error exception in thread "main" java.lang.NoClassDefFoundError:HelloClient ...
9
by: jith87 | last post by:
What is ths error.????? I m nw loading the JDBC driver for connection with MySql. Exception in thread "main" java.lang.NoClassDefFoundError: MySQLJDBCDriverTest
3
by: Ananthu | last post by:
Hi This is my codings in order to access mysql database from java. Codings: import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement;
9
by: tiyaramunna | last post by:
I am trying to configure my system with Java program just to practice on the coding....when i compile a test.java program i am able to see the class file but i cant run the program ... I am getting...
4
by: jmitch89 | last post by:
I don't why I get this error: Exception in thread "main" java.lang.NoClassDefFoundError The statement below works just fine: java -cp...
3
by: ohadr | last post by:
hi, i get Exception in thread "main" java.lang.NullPointerException when i run my application. the exact error is: "Exception in thread "main" java.lang.NullPointerException at...
1
by: onlinegear | last post by:
HI i am writing this for college i know i have loads of combo boxes with nothing in the i havent got that far yet. but every time i run this is comes up with this erro run: Exception in thread...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.