Thread: Quick Question

Results 1 to 3 of 3
  1. #1 Quick Question 
    Registered Member
    Join Date
    May 2019
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hey everyone! I have been away from the coding scene for a few years now.
    I know everything is pretty much the same but I am running into a few problems I can not remember how to fix.

    I have ran into this issue in the past and before fixed it. However for the life of me can not remember how.

    When running my Src File this is what I get:

    Error: Could not find or load main class com.arlania.GameServer
    Caused by: java.lang.ClassNotFoundException: com.arlania.GameServer
    Press any key to continue . . .

    It says it is the wrong path, but that is exactly how the code should read.. It is in fact the correct directory.

    What am I not seeing?

    If it is easier to respond to me via discord my name is:
    Og_Panda#6792

    Otherwise any help that could be given will be greatly appreciated.
    Reply With Quote  
     

  2. #2  
    Rsps Developer | Web Developer

    FezoR2's Avatar
    Join Date
    May 2015
    Posts
    941
    Thanks given
    530
    Thanks received
    184
    Rep Power
    125
    Quote Originally Posted by Og.Panda View Post
    Hey everyone! I have been away from the coding scene for a few years now.
    I know everything is pretty much the same but I am running into a few problems I can not remember how to fix.

    I have ran into this issue in the past and before fixed it. However for the life of me can not remember how.

    When running my Src File this is what I get:

    Error: Could not find or load main class com.arlania.GameServer
    Caused by: java.lang.ClassNotFoundException: com.arlania.GameServer
    Press any key to continue . . .

    It says it is the wrong path, but that is exactly how the code should read.. It is in fact the correct directory.

    What am I not seeing?

    If it is easier to respond to me via discord my name is:
    Og_Panda#6792

    Otherwise any help that could be given will be greatly appreciated.
    use eclipse?



    Service Thread

    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  3. #3  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,712
    Thanks given
    170
    Thanks received
    285
    Discord
    Arch337#1337
    Rep Power
    631
    You have no main function in your GameServer.class.
    You'll need to either compile your GameServer.java to this location (if it has a main function) or find the one that has a main function.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    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. a quick question?
    By Eminem™ in forum Help
    Replies: 6
    Last Post: 11-01-2008, 03:52 PM
  2. Quick question about Capture Cards.
    By Balla Xx<3 in forum Chat
    Replies: 3
    Last Post: 11-01-2008, 06:56 AM
  3. quick question
    By EmoscapE in forum Models
    Replies: 6
    Last Post: 09-07-2008, 06:42 PM
  4. Quick question
    By Pikker in forum RS 503+ Client & Server
    Replies: 16
    Last Post: 08-06-2008, 09:55 PM
  5. Quick Question about client
    By ritz929 in forum RS 503+ Client & Server
    Replies: 0
    Last Post: 08-03-2008, 06:42 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
  •