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



Comment Added by : yash

Comment Added at : 2009-09-16 06:12:32

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class GeneralModules.SerialConnection
at GeneralModules.Sender.send(Sender.java:44)
at GeneralModules.SMSClient.run(SMSClient.java:38)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "main" java.lang.ExceptionInInitializerError
at GeneralModules.Sender.send(Sender.java:44)
at GeneralModules.SMSClient.run(SMSClient.java:38)
at GeneralModules.SMSClient.sendMessage(SMSClient.java:29)
at GeneralModules.Send.main(Send.java:16)
Caused by: java.lang.RuntimeException: Uncompilable source code - cannot find symbol
symbol: class SerialPortEventListener
at GeneralModules.SerialConnection.<clinit>(SerialConnection.java:14)
... 4 more
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)


Net beans is giving me the above mentioned errors. Would appreciate if someone could please help


View Tutorial



Ask a Question

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. semicolon(*;) is missed in first line..con .close(
View Tutorial          By: Reddymalla Babu Sircilla at 2013-02-22 09:01:29

2. how to refresh the radiobuttons during the run tim
View Tutorial          By: Vishnupriya at 2009-02-04 03:25:24

3. tell me the new page create in java and attach wi
View Tutorial          By: muhammad nadeem at 2011-07-06 00:12:08

4. Thanks..
Short & Sweet Description.

View Tutorial          By: Prashaad at 2012-02-23 17:37:14

5. Very nice article.
Thank you

View Tutorial          By: Ahmed Adel at 2013-02-11 18:33:51

6. Thanks a lot for the code...
thats working

View Tutorial          By: Rahul at 2008-06-28 14:16:10

7. Have you tried checking for the latest office/exce
View Tutorial          By: Pat at 2010-01-07 04:54:31

8. Thanks...Really nice...
View Tutorial          By: Raj at 2013-02-07 08:58:28

9. javax.comm.NoSuchPortException
at javax.co

View Tutorial          By: Prakash at 2008-04-14 06:22:38

10. Can anybody tell the steps to go ahead with the ex
View Tutorial          By: Sunpenn at 2009-10-12 03:57:58