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 cannot find symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "error cannot find symbol" Watch "error cannot find symbol" New topic

error cannot find symbol

Charlton Roberts

Joined: Jun 17, 2013
Posts: 1
Hi everyone, I'm new to object-oriented programming, and came across this java interpretation of Ian Bells Elite planet name/market etc generator.

I tried to compile but came across 23 errors - cannot find symbol. Have googled the problem, but answers are always specific to the code causing the problem.

Any help much appreciated.....

Shashank Gollapudi
Ranch Hand

Joined: Jan 19, 2012
Posts: 33
Hi Roberts,

The return type of the following methods (Coordinate,Profile,SystemInfo,Commodity) are not defined for the class, and these four are the cause of your 23 errros.

Try importing them if they are external references.

Kemal Sokolovic

Joined: Jun 19, 2010
Posts: 825

And welcome to the Ranch!

The quieter you are, the more you are able to hear.
I agree. Here's the link:
subject: error cannot find symbol
It's not a secret anymore!