File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes error?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "error??" Watch "error??" New topic


Suka Hati
Ranch Hand

Joined: Oct 28, 2004
Posts: 56
i got an error, cannor resolve symbol. what could it be?hoe to solve the error
C. Alan
Ranch Hand

Joined: Dec 17, 2004
Posts: 30
There are a couple of reasons for getting this error. Without seeing your code, it is a little difficult to say exactly why you are having a problem.

Unless installed as a package and properly imported, files for classes used in the program (in this case or EasyReader.class) should be available in the same folder as A cannot resolve class error may also show up when a library class is not imported or when data type is incorrect or misspelled.

This error may occur when a method is called incorrectly: either its name is misspelled (or upper-lower case is misplaced), or a method is called with wrong types of arguments, or a method is called for a wrong type of object or a wrong class.

A very common error, cannot resolve symbol may result from an undeclared variable or a misspelled local variable or field name, or missing parentheses in a method call.

Taken from here:

<a href="" target="_blank" rel="nofollow">Malware Removal</a> - Get your system running like new again.
Suka Hati
Ranch Hand

Joined: Oct 28, 2004
Posts: 56
i think the error occured because im using package.all of the class is in the package. each class is connected with each other. i made some changing in one of the class(eg class A). i copy it and put it back in the package. then i modify another class(eg class B) that call the previous class(class A). the error, cannot resolve symbol was at the line in class B that call method of class A. does this make sense???
I agree. Here's the link:
subject: error??
It's not a secret anymore!