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 will not contest. Certainly this is extremely im
View Tutorial By: Bangabee at 2012-11-10 18:17:40
2. Many thanks for your nice explanation.
View Tutorial By: Zahra at 2012-04-10 06:03:56
3. To execute program you need comm.jar that is not a
View Tutorial By: shreyansh shah at 2012-07-11 05:57:42
4. i Want the Flow Chart and code for the mobile Cale
View Tutorial By: Sudip Khatiwara at 2010-03-15 04:10:41
5. programs are making the concept easy.its a nice pr
View Tutorial By: veeru at 2010-05-12 22:10:25
6. Hey thanks for your tutorial.
But i
View Tutorial By: Matze at 2013-07-19 16:08:46
7. FINALLY! A place that gives complete examples (wi
View Tutorial By: bminton at 2013-03-19 00:15:55
8. in tc not accept argument directly run and gave fi
View Tutorial By: vishal vekariya at 2012-11-16 11:06:38
9. i want java code for day planner please send me on
View Tutorial By: sumaiya pathan at 2010-10-15 21:34:23
10. How to fix this Error.....
org.apac
View Tutorial By: james prabhakaran at 2014-12-02 13:08:30