Thread: Says it doesn't exist but it does

Results 1 to 5 of 5
  1. #1 Says it doesn't exist but it does 
    Donator

    Join Date
    Sep 2009
    Posts
    86
    Thanks given
    1
    Thanks received
    0
    Rep Power
    12
    Code:
    src\server\Server.java:56: cannot find symbol
    symbol  : class DatabaseConnection
    location: class server.Server
            public static DatabaseConnection database = null;
                          ^
    src\server\Server.java:99: cannot find symbol
    symbol  : class DatabaseConnection
    location: class server.Server
                    database = new DatabaseConnection();
                                   ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    It says it can'tfind DatabaseConnection but it exist in the file
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Sep 2009
    Posts
    86
    Thanks given
    1
    Thanks received
    0
    Rep Power
    12
    Code:
    src\server\Server.java:18: cannot find symbol
    symbol  : class DatabaseConnection
    location: package server.model.players
    import server.model.players.DatabaseConnection;            <===== COMPILER LIES OMG!!
                               ^
    src\server\Server.java:57: cannot find symbol
    symbol  : class DatabaseConnection
    location: class server.Server
            public static DatabaseConnection database = null;
                          ^
    src\server\Server.java:100: cannot find symbol
    symbol  : class DatabaseConnection
    location: class server.Server
                    database = new DatabaseConnection();
                                   ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Random..
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Sep 2009
    Posts
    86
    Thanks given
    1
    Thanks received
    0
    Rep Power
    12
    bump
    Reply With Quote  
     

  4. #4  
    J112
    Guest
    The compiler doesn't lie, you do.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2009
    Posts
    1,723
    Thanks given
    45
    Thanks received
    81
    Rep Power
    269
    I can fix get on msn or add me [email protected]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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