aspose file tools
The moose likes Applets and the fly likes cannot find symbol error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "cannot find symbol error" Watch "cannot find symbol error" New topic

cannot find symbol error

sumedha vangury

Joined: Jun 17, 2012
Posts: 29
hi friends i am getting the error cannot find symbol for the code below,just cant figure out where is the problem,can someone please help me out asap..

C:\dct>javac error: cannot find symbol
Photo img = new Photo();
symbol: class Photo
location: class Interface

Hope to get a solution very soon..thankyou very much
Vivek SharmaJi
Ranch Hand

Joined: Dec 09, 2012
Posts: 38

Please check the Photo class is visible to your this class. Please paste the complete code. Thanks!
sumedha vangury

Joined: Jun 17, 2012
Posts: 29
thanks for the quick response,but i still dint get how to resolve the error

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
As Vivek said, your code uses a class called "Photo", and that seems not to be available. Where is it?
wood burning stoves
subject: cannot find symbol error