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. Really a appriciatable one. Can u plz send the cod
View Tutorial          By: Jeevan at 2009-04-11 12:39:45

2. How to download a pdf file from the server and sav
View Tutorial          By: harsha at 2013-08-12 07:52:22

3. I have a sample code in which,

obje

View Tutorial          By: Tan Mi at 2011-10-25 23:24:10

4. Hi divya, You will have to edit the SerialParamete
View Tutorial          By: Ramlak at 2008-04-27 05:54:47

5. nice
View Tutorial          By: knraju at 2012-04-13 13:49:57

6. really really very good
thanks all
a

View Tutorial          By: bade3 at 2010-01-01 18:52:15

7. Hi, I have the following element:

&

View Tutorial          By: gardek at 2009-09-02 14:40:37

8. hello sir,
i am create project autosubtitle

View Tutorial          By: Dilip Gauswami at 2013-12-01 06:46:34

9. Hi everyone!
Pls I dnt know hot to configur

View Tutorial          By: DSE90 at 2010-02-12 12:05:57

10. Hello Ramlak, I am too getting
java.lang.U

View Tutorial          By: Amruta at 2008-11-07 23:56:17