ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » java.lang.NoClassDefFoundError: com/ibm/mq/MQException

Post new topic  Reply to topic
 java.lang.NoClassDefFoundError: com/ibm/mq/MQException « View previous topic :: View next topic » 
Author Message
ramesh.rcp
PostPosted: Fri Nov 17, 2006 3:21 am    Post subject: java.lang.NoClassDefFoundError: com/ibm/mq/MQException Reply with quote

Newbie

Joined: 09 Jul 2006
Posts: 3

I have written a small program in Java to connect a remote queue manager from my local system. The program is an applet program. when I am running the program, it's throwing the error................
I have set the connector.jar in the CLASSPATH also

java.lang.NoClassDefFoundError: com/ibm/mq/MQException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1747)
at java.lang.Class.getConstructor1(Class.java:2063)
at java.lang.Class.newInstance3(Class.java:331)
at java.lang.Class.newInstance(Class.java:305)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:675)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:604)
at sun.applet.AppletPanel.run(AppletPanel.java:333)
at java.lang.Thread.run(Thread.java:568)


Can anyone please help me on this.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Nov 17, 2006 3:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

for applets, the MQ jars need to be in <java install>/jre/lib/ext ...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
ramesh.rcp
PostPosted: Fri Nov 17, 2006 4:53 am    Post subject: Reply with quote

Newbie

Joined: 09 Jul 2006
Posts: 3

Thanks, its working now
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » java.lang.NoClassDefFoundError: com/ibm/mq/MQException
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.