Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : pinnacle

Comment Added at : 2013-06-08 13:08:55

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hello friends ,
I have downloaded all 5 files and created 6th file...but when i tried to execute its showing the following exception.Please anybody try to solve it...

Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/SerialPortEventL
istener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at Sender.send(Sender.java:68)
at SMSClient.run(SMSClient.java:39)
at SMSClient.sendMessage(SMSClient.java:30)
at Sample.main(Sample.java:10)
Caused by: java.lang.ClassNotFoundException: javax.comm.SerialPortEventListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 16 more
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: SerialConnection
at Sender.send(Sender.java:68)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Unknown Source)


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. thank u very much...............
View Tutorial          By: naveen at 2011-07-05 06:00:04

2. Thanks a lot...I've been trying to fix my apache f
View Tutorial          By: L├ízaro at 2010-01-20 03:32:07

3. Just used InstallCert.java successfully so that my
View Tutorial          By: Anthony Pelosi at 2009-12-30 15:52:17

4. i don,t think so that it is sufficient to understa
View Tutorial          By: amit singh at 2009-05-27 06:54:20

5. string is immutable in java.String buffer is mutab
View Tutorial          By: krishnakumar at 2009-10-19 00:35:44

6. hi i need moving clock javascript code...please se
View Tutorial          By: madhavan at 2008-10-19 21:59:45

7. it was so nice .................i can easily solve
View Tutorial          By: pravin at 2012-07-14 06:15:33

8. Hi ,

Is there any way to export con

View Tutorial          By: Nithya Duraiswamy at 2009-03-03 21:32:05

9. Dim xlApp As Excel.Application
Dim

View Tutorial          By: Zarno at 2010-12-24 07:11:19

10. excellent notes
View Tutorial          By: jawahar at 2010-08-03 00:23:52