473,749 Members | 2,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception in thread "main" java.lang.NoCla ssDefFoundError : 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.NoCla ssDefFoundError :
com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSE SSIONServer.get MQSESSION(MQSES SIONServer.java :67)
at com.ibm.mq.MQSE SSION.getSessio n(MQSESSION.jav a:241)
at com.ibm.mq.MQMa nagedConnection J11.<init>(MQMa nagedConnection J11.java:
148)
at com.ibm.mq.MQBi ndingsManagedCo nnectionFactory J11._createMana gedConnec
tion(MQBindings ManagedConnecti onFactoryJ11.ja va:136)
at com.ibm.mq.MQBi ndingsManagedCo nnectionFactory J11.createManag edConnect
ion(MQBindingsM anagedConnectio nFactoryJ11.jav a:154)
at com.ibm.mq.Stor edManagedConnec tion.<init>(Sto redManagedConne ction.jav
a:80)
at com.ibm.mq.MQSi mpleConnectionM anager.allocate Connection(MQSi mpleConne
ctionManager.ja va:150)
at com.ibm.mq.MQQu eueManager.obta inBaseMQQueueMa nager(MQQueueMa nager.jav
a:649)
at com.ibm.mq.MQQu eueManager.cons truct(MQQueueMa nager.java:598)
at com.ibm.mq.MQQu eueManager.<ini t>(MQQueueManag er.java:375)

Thanks to anybody who can help.
Andy
Jul 17 '05 #1
1 9118
an************* *@uk.ibm.com (Andy Howells) wrote in message news:<bd******* *************** ****@posting.go ogle.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.NoCla ssDefFoundError :
com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSE SSIONServer.get MQSESSION(MQSES SIONServer.java :67)
at com.ibm.mq.MQSE SSION.getSessio n(MQSESSION.jav a:241)
at com.ibm.mq.MQMa nagedConnection J11.<init>(MQMa nagedConnection J11.java:
148)
at com.ibm.mq.MQBi ndingsManagedCo nnectionFactory J11._createMana gedConnec
tion(MQBindings ManagedConnecti onFactoryJ11.ja va:136)
at com.ibm.mq.MQBi ndingsManagedCo nnectionFactory J11.createManag edConnect
ion(MQBindingsM anagedConnectio nFactoryJ11.jav a:154)
at com.ibm.mq.Stor edManagedConnec tion.<init>(Sto redManagedConne ction.jav
a:80)
at com.ibm.mq.MQSi mpleConnectionM anager.allocate Connection(MQSi mpleConne
ctionManager.ja va:150)
at com.ibm.mq.MQQu eueManager.obta inBaseMQQueueMa nager(MQQueueMa nager.jav
a:649)
at com.ibm.mq.MQQu eueManager.cons truct(MQQueueMa nager.java:598)
at com.ibm.mq.MQQu eueManager.<ini t>(MQQueueManag er.java: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
3005
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 webpage and installed it using SGI's swmgr application. The installation was very straight forward and there were no errors when I installed the package. Then I ran /usr/java2/bin/javac SelectSockets.java to make the SelectSockets.class file.
7
2766
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" java.lang.NoClassDefFoundError: I have several class files in the directory d:\personal\java-ChartGen Chart.class ChartColourScheme.class
4
2633
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 // Copyright and License import HelloApp.*; import org.omg.CosNaming.*;
9
3126
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
6443
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
3285
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 the following error Exception in thread "main" java.lang.NoClassDefFoundError: test Caused by: java.lang.ClassNotFoundException: test at java.net.URLClassLoader$1.run(Unknown Source) at...
4
14727
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 "appframework-1.0.3.jar;swing-worker-1.1.jar";CurrentStrobe.jar com.visionpro.currentstrobe.CurrentStrobeApp However, the statement below produces the error: java -cp "appframework-1.0.3.jar;swing-worker-1.1.jar" -jar CurrentStrobe.jar Exception in thread "main"...
3
7658
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 sortmergejoin.MergeJoin.Field(MergeJoin.java:204) at sortmergejoin.MergeJoin.SMJoin(MergeJoin.java:84) at sortmergejoin.MergeJoin.<init>(MergeJoin.java:34) at sortmergejoin.Main.main(Main.java:24) Java Result: 1"
1
6756
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 "main" java.lang.NullPointerException at java.awt.Container.addImpl(Container.java:1041) at java.awt.Container.add(Container.java:365) at orderingsystem.OrderingSystem.<init>(OrderingSystem.java:261) at...
0
8997
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8833
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9389
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.