Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.NoClassDefFoundError: javax/jms/Connection

843802May 1 2002 — edited May 24 2002
Hi

I am trying out a sample JWS application, my application uses JMS.. when I try to create any JMS object I am getting the following exception..

my .jnlp has a reference jars as ..

<resources>
<j2se version="1.3"/>
<jar href="Client.jar"/>
<jar href="jaas.jar"/>
<jar href="jms.jar"/>
<jar href="jmxri.jar"/>
<jar href="jta.jar"/>
<jar href="xml.jar"/>
</resources>

here is the exception :
------------------- exception --------------------------
Exception occurred during event dispatching:

java.lang.NoClassDefFoundError: javax/jms/Connection

at chitchat.controller.LoginController.actionPerformed(LoginController.java:49)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)




Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2002
Added on May 1 2002
2 comments
323 views