Thread: [PI] Help please!

Results 1 to 8 of 8
  1. #1 [PI] Help please! 
    Registered Member Keepin_Green's Avatar
    Join Date
    Oct 2012
    Posts
    225
    Thanks given
    12
    Thanks received
    19
    Rep Power
    13
    I've put the class "TriviaBot" in the minigames folder, but when I compile...

    Code:
    src\server\model\players\Client.java:38: error: cannot find symbol
    import server.model.minigames.TriviaBot;
                                 ^
    	symbol:	class TriviaBot
    	location: package server.model.minigames
    Any ideas how to fix?
    Reply With Quote  
     

  2. #2  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    28
    Posts
    1,318
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    You've important TrirviaBot into Client.java? It's saying it can't find that file in that location.
    Reply With Quote  
     

  3. #3  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Notgower View Post
    You've important TrirviaBot into Client.java? It's saying it can't find that file in that location.
    that's the issue he's trying to import the class from the "server.model.minigames" package but it does not exist.
    Reply With Quote  
     

  4. #4  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    28
    Posts
    1,318
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    Quote Originally Posted by Stuart View Post
    that's the issue he's trying to import the class from the "server.model.minigames" package but it does not exist.
    That didn't come to mind because I thought the standard PI had that package?
    Reply With Quote  
     

  5. #5  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Notgower View Post
    That didn't come to mind because I thought the standard PI had that package?
    it has the package but the class does not exist in it.
    Reply With Quote  
     

  6. #6  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    28
    Posts
    1,318
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    Quote Originally Posted by Stuart View Post
    it has the package but the class does not exist in it.
    Well he claimed to had put the class in the minigames folder, I guess he's mistaken because you're right according to the error.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    make sure the TriviaBot class is i your minigames folder with a directory of server.model.minigames and make sure your TriviaBot class has a package declaration of package server.model.minigames;
    If only I hadn't given you up, my life could've been different.
    Reply With Quote  
     

  8. Thankful user:


  9. #8  
    Registered Member Keepin_Green's Avatar
    Join Date
    Oct 2012
    Posts
    225
    Thanks given
    12
    Thanks received
    19
    Rep Power
    13
    Quote Originally Posted by True Faith View Post
    make sure the TriviaBot class is i your minigames folder with a directory of server.model.minigames and make sure your TriviaBot class has a package declaration of package server.model.minigames;
    Ahhhhhhhhhhhhhhhhhh!!!!!!! Thank you!!!

    See, it had "package server.content.model.minigames;"
    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. [pi] help please
    By asillybunny in forum Help
    Replies: 0
    Last Post: 12-01-2010, 08:41 PM
  2. PI help please for rep?
    By asillybunny in forum Help
    Replies: 0
    Last Post: 11-29-2010, 04:39 AM
  3. [pi] help please
    By asillybunny in forum Help
    Replies: 4
    Last Post: 11-20-2010, 01:01 AM
  4. [PI] Help Please!!!?!
    By Rune Sage in forum Help
    Replies: 0
    Last Post: 07-21-2010, 09:07 AM
  5. [PI]Help please
    By Richie in forum Help
    Replies: 0
    Last Post: 06-14-2010, 06:05 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
  •