ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  SMS-Powered Applications
Subject:   Compilation Error Please Help
Date:   2009-05-25 22:10:43
From:   ancy joseph
Sir,
I am also getting these error
Could you please sort out the problem I got an error saying

Sender.java:21: cannot find symbol
symbol : class SerialConnection
location: package sample.sms
sample.sms.SerialConnection mySerial =null;


Sender.java:31: cannot find symbol
symbol : class SerialParameters
location: class sample.sms.Sender
private SerialParameters defaultParameters= new SerialParameters ("COM2",9600,0,0,8,1,0);


SerialParameters.java:404: cannot find symbol
symbol : variable SerialPort
location: class sample.sms.SerialParameters
case SerialPort.FLOWCONTROL_RTSCTS_OUT:


^
SerialParameters.java:398: cannot find symbol
symbol : variable SerialPort
location: class sample.sms.SerialParameters
case SerialPort.FLOWCONTROL_XONXOFF_OUT:

and lots of other errors .
I tried by importing java.net and others by there is no end to these error .There where about 50 errors..
I had put those files 5 java files in sample/sms folder
and had set as package by giving package sample.sms;
Could any one please help me in sorting out these problem......


Thanks in Advance
Rahul..