Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error cannot find symbol

 
Charlton Roberts
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic