Java Studio Enterprise 8.1 and jdk1.6 - cannot find symbol
Hi,
I am using subj. The problem I have is that I declared 2-3 classes with methods in one package. I made an object of the class and use intellisense to navigate to the method I need but when I try to compile the code I have "cannot find symbol" error on the method I intellisensed to. It seems to me that it is IDE problem.
Does anyone know how to work around it?
The code is below, in case you are interested.
-
package webservice;
import java.io.*;
public class Main {
/** Creates a new instance of Main */
public Main() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String filename = null;
String timestamp = null;
try {
Q q = new Q();
timestamp = "2007-06-01";
QList ql = q.getList(timestamp);
System.out.println("--Ok-");
}
catch(Exception e) {
System.out.println("An Exception thrown in Main(). e = "+e.toString());
}
}
}
package webservice;
public class Q {
public Q() {
}
public QList getList(String timestamp) {
QList result = null;
return result;
}
-
Thanks,
Dmitry

