Thread: Same 3 Errors! Grr!

Results 1 to 4 of 4
  1. #1 Same 3 Errors! Grr! 
    Donator Same 3 Errors! Grr! Market Banned



    Join Date
    Apr 2008
    Age
    32
    Posts
    966
    Thanks given
    210
    Thanks received
    152
    Rep Power
    203
    Started!
    net\Dayz\Core\highscore.java:43: cannot find symbol
    symbol : class client
    location: class highscore
    public static boolean save(client c) {
    ^
    .\net\Dayz\Core\highscore.java:4: duplicate class: highscore
    public class highscore {
    ^
    net\Dayz\Core\client.java:7715: cannot access net.Dayz.Core.highscore
    bad class file: .\net\Dayz\Core\highscore.java
    file does not contain class net.Dayz.Core.highscore
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    highscore.save(this);
    ^
    3 errors
    Finished!
    Press any key to continue . . .

    I keep getting these same 3 fucking errors which is rather annoying, its for my highscores. I got the website based working but just server side wont compile.


    Preview of the highscores working: http://tinyurl.com/26o8ccw
    But i cant quite understand these errors too well maybe cuz im tired idk lol i been staring at them for ages now.

    REP+ For Help.
    Thanks,
    Diesel
    Reply With Quote  
     

  2. #2  
    Registered Member Vsall's Avatar
    Join Date
    Nov 2009
    Posts
    772
    Thanks given
    6
    Thanks received
    29
    Rep Power
    39
    your highscore class is fucked .
    Reply With Quote  
     

  3. #3  
    Donator Same 3 Errors! Grr! Market Banned



    Join Date
    Apr 2008
    Age
    32
    Posts
    966
    Thanks given
    210
    Thanks received
    152
    Rep Power
    203
    all i have is the java file which i copied and pasted from the tut and it wont compile i get them errors.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Hunter's Avatar
    Join Date
    Jun 2009
    Age
    33
    Posts
    857
    Thanks given
    3
    Thanks received
    23
    Rep Power
    216
    1. It cannot find client class so you must have the highscore.java in a different folder (package). So import the client class. (import *.client; - * = folder client is in)
    2. Means there are two or more highscore classes.
    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
  •