dcsimg
java.lang.noclassfounderror:javax/mail/address
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ashu_Jadhav
Posted On:   Friday, January 5, 2007 03:54 AM

hi, I am working on the a project which is for stant alone system.i have used swing for gui and java mail api to send mail.I have created a bat file to run it.it works quite fine on my system but when i deploy it on the client system it gives error.I have also copied all the jar files to the project folder and also set classpath for the same. C:SBToolV2.0>SET CLASSPATH=C:SBToolV2.0&gt mail.jar;C:SBToolV2.0&gt activation.jar;. C:SBToolV2.0&gtFrameTester.java ERROR: java.lang.NoClassDefFoundError: javax/mail/Address at FrameTester.actionPerformed(Frametester.java:111) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.Abstrac   More>>

hi,
I am working on the a project which is for stant alone system.i have used swing for gui and java mail api to send mail.I have created a bat file to run it.it works quite fine on my system but when i deploy it on the client system it gives error.I have also copied all the jar files to the project folder and also set classpath for the same.


C:SBToolV2.0>SET CLASSPATH=C:SBToolV2.0&gt mail.jar;C:SBToolV2.0&gt activation.jar;.
C:SBToolV2.0&gtFrameTester.java


ERROR:
java.lang.NoClassDefFoundError: javax/mail/Address

at FrameTester.actionPerformed(Frametester.java:111)

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

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow

n Source)

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

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

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour

ce)

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.pumpEvents(Unknown Source)

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


Can any one help me out its urgent

   <<Less

Re: java.lang.noclassfounderror:javax/mail/address

Posted By:   WarnerJan_Veldhuis  
Posted On:   Saturday, January 6, 2007 02:11 PM

This is a suspicious classpath:

SET CLASSPATH=C:SBToolV2.0> mail.jar;C:SBToolV2.0> activation.jar;



And for fuck sake, stop calling your question urgent. It's not . Trust me. Having serious diarrhea and no toilet in sight, THAT is urgent....





Your question is not as special as you think. Declaring it urgent is rude and selfish. Don't do that again.

Re: java.lang.noclassfounderror:javax/mail/address

Posted By:   Robert_Lybarger  
Posted On:   Friday, January 5, 2007 08:49 AM

We can't help you since you didn't format the code properly like you were told to. Put your code output stuff in between
 html elements when you paste stuff in ... we won't bother ourself to make sense of your problem when we can't read it.
About | Sitemap | Contact