Comment on Tutorial - Read from a COM port using Java program By Steven Lim
Comment Added by : Abhaya
Comment Added at : 2013-02-20 22:42:18
Comment on Tutorial : Read from a COM port using Java program By Steven Lim
I get theses errors and apparrently it cannot find SerialPortEventListener and the import javax.comm.*. Please help. Do I need to add a jar file or something
Exception in thread "main" java.lang.NoClassDefFoundError: SerialPortEvent
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: SerialPortEvent
at java.net.URLClassLoader$1.run(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)
... 6 more
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. i like java language.
View Tutorial By: deepika at 2014-09-22 15:11:39
2. super
View Tutorial By: chalamareddy at 2012-10-08 18:08:29
3. You can have a look at the tutorial written by Era
View Tutorial By: John Berger at 2011-03-26 09:24:22
4. I need
text,number,text,number,text,num
View Tutorial By: kabil dev at 2015-05-29 13:10:40
5. hi gud mrng........
i wanna connectivity of
View Tutorial By: sac at 2011-09-02 04:56:43
6. Please send the complete code.. thanks!
View Tutorial By: Roger22 at 2010-03-11 00:41:07
7. this is no doubt a simple program for the learner
View Tutorial By: shweta at 2008-07-12 01:18:59
8. Gracias, it worked.
View Tutorial By: Eduardo at 2009-09-09 12:16:30
9. Different from the others,Good One
View Tutorial By: Amiiiii java slayer at 2009-10-14 08:10:26
10. Re: Inner Classes
Aside from allowing acces
View Tutorial By: lee smith at 2010-01-17 10:59:23