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. its very helpful..thank you..
View Tutorial          By: roja at 2013-06-16 12:37:32

2. int myColor = 0xFFFF00;
paint(Graphics grap

View Tutorial          By: krishna mohan at 2010-02-01 05:22:12

3. Your article is very useful.

But I

View Tutorial          By: Me at 2013-04-07 10:20:00

4. Thanks a ton sir.....
This is very informat

View Tutorial          By: Shailaja at 2009-12-27 10:43:42

5. i am run code this rectify this error please some
View Tutorial          By: indiran at 2010-01-28 01:45:56

6. it is a big help for us , as a IT student that kn
View Tutorial          By: nelson kent recites at 2012-01-19 08:56:26

7. can you provide the full class from start to begin
View Tutorial          By: mohit at 2011-12-01 09:56:22

8. Good and very clear explanation...
View Tutorial          By: Pavana at 2010-01-05 23:35:30

9. Saved my life!
View Tutorial          By: Sahil Nair at 2013-09-21 09:26:54

10. I am facing the same problem but org-netbeans-modu
View Tutorial          By: Anonymous at 2009-05-08 07:59:09