Thread: 2 errors.

Results 1 to 10 of 10
  1. #1 2 errors. 
    Registered Member
    Join Date
    Nov 2012
    Posts
    180
    Thanks given
    52
    Thanks received
    15
    Rep Power
    35
    Can anyone help me sort these out?

    I will rep + thank!

    Code:
    src\server\model\players\Client.java:43: error: cannot find symbol
            private PvPHandler pvpHandler = new PvPHandler(this);
                    ^
      symbol:   class PvPHandler
      location: class Client
    src\server\model\players\Client.java:43: error: cannot find symbol
            private PvPHandler pvpHandler = new PvPHandler(this);
                                                ^
      symbol:   class PvPHandler
      location: class Client
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    RS No Lifer
    Alt Codes's Avatar
    Join Date
    Jan 2013
    Posts
    69
    Thanks given
    2
    Thanks received
    17
    Rep Power
    6
    looks like improper arguments, idk, wild guess. im still learning myself

    I usually get this issue when I forget to add a (, ), {, }, .
    Reply With Quote  
     

  3. #3  
    Registered Member AbyssalSol's Avatar
    Join Date
    Oct 2012
    Posts
    96
    Thanks given
    10
    Thanks received
    2
    Rep Power
    0
    Well there's obviously an error with your "PvPHandler" have you imported it?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2012
    Posts
    180
    Thanks given
    52
    Thanks received
    15
    Rep Power
    35
    Quote Originally Posted by S0ulzScape View Post
    Well there's obviously an error with your "PvPHandler" have you imported it?
    Yes, I have.
    Reply With Quote  
     

  5. #5  
    Ain't Messin' Around - Gary Clark Jr.

    Wolfs Darker's Avatar
    Join Date
    Jul 2012
    Posts
    1,530
    Thanks given
    598
    Thanks received
    464
    Rep Power
    252
    Pretty sure it is a import problem, if you used a IDE, that is auto-fixed by it =\
    Attached image
    Reply With Quote  
     

  6. #6  
    Registered Member AbyssalSol's Avatar
    Join Date
    Oct 2012
    Posts
    96
    Thanks given
    10
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by wolfs darker View Post
    Pretty sure it is a import problem, if you used a IDE, that is auto-fixed by it =\
    Yup. I thought it was import too.
    Reply With Quote  
     

  7. #7  
    Registered Member AbyssalSol's Avatar
    Join Date
    Oct 2012
    Posts
    96
    Thanks given
    10
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by FoReal View Post
    Can anyone help me sort these out?

    I will rep + thank!

    Code:
    src\server\model\players\Client.java:43: error: cannot find symbol
            private PvPHandler pvpHandler = new PvPHandler(this);
                    ^
      symbol:   class PvPHandler
      location: class Client
    src\server\model\players\Client.java:43: error: cannot find symbol
            private PvPHandler pvpHandler = new PvPHandler(this);
                                                ^
      symbol:   class PvPHandler
      location: class Client
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .
    You sure you imported PvpHandler to client.java?
    Reply With Quote  
     

  8. #8  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Did u add the file to your compiler?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    If you made a new package for it, you're gonna have to add that package to your compiler so it compiles it
    Reply With Quote  
     

  10. #10  
    Registered Member Madara's Avatar
    Join Date
    Jun 2013
    Age
    32
    Posts
    89
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    It has nothing to do w. the Compiler, all that is missing is the correct import. I highly suggest you use an IDE because it will literally tell you all the errors that your source has that compiler wont tell you. Plus its a lot nicer looking too
    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

Similar Threads

  1. Same error over and over?!!
    By phantomphreak in forum Tutorials
    Replies: 4
    Last Post: 09-28-2007, 01:20 AM
  2. Basic Compile Errors
    By Daniel in forum Tutorials
    Replies: 4
    Last Post: 09-17-2007, 12:54 PM
  3. [HELP]Render Error
    By Big J in forum General
    Replies: 3
    Last Post: 07-30-2007, 01:01 AM
  4. Error. Please reboot me :)
    By Inside Sin in forum Showcase
    Replies: 4
    Last Post: 05-13-2007, 03:39 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •