Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default Cannot find symbol error message

    The code is:

    Elevator e1;

    The compiler error is:
    Cannot find symbol (Elevator)

    I've already compiled the Elevator class and stored it in the same folder.

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    618
    Rep Power
    4

    Default

    may be you forgot import this class. you are checking your code.
    Java Code:
    import package_where_locate_Elevator.*;
    Skype: petrarsentev
    http://TrackStudio.com

Similar Threads

  1. Cannot find symbol error
    By rajivjoshi in forum New To Java
    Replies: 3
    Last Post: 05-31-2010, 10:13 AM
  2. error cannot find symbol
    By jcoon3 in forum New To Java
    Replies: 3
    Last Post: 09-27-2009, 10:56 PM
  3. Replies: 9
    Last Post: 10-18-2008, 08:26 PM
  4. 'Cannot find symbol' error
    By minihazard10 in forum New To Java
    Replies: 6
    Last Post: 10-10-2008, 04:05 AM
  5. Error: cannot find symbol
    By cachi in forum AWT / Swing
    Replies: 1
    Last Post: 08-06-2007, 08:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •