Thread: Prob an Easy Fix... [508]

Results 1 to 4 of 4
  1. #1 Prob an Easy Fix... [508] 
    Registered Member
    Join Date
    Oct 2008
    Posts
    165
    Thanks given
    2
    Thanks received
    1
    Rep Power
    30
    Hey just trying to come back to coding 508's after my server was deleted =/ figured id start over but anyway im a little rusty and was wondering how to fix this:

    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: palidino76/rs2/Server
    
    Caused by: java.lang.ClassNotFoundException: palidino76.rs2.Server
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: palidino76/rs2/Server.  Program will exit.
    Press any key to continue . . .
    Get it every time I try and start the server... Thanks for any help!
    Reply With Quote  
     

  2. #2  
    Registered Member
    X Mercy X's Avatar
    Join Date
    May 2009
    Age
    31
    Posts
    1,336
    Thanks given
    3
    Thanks received
    41
    Rep Power
    301
    it cannot find bin/palidino76/rs2/Server.class
    look for it, if its not there but you have java files compler and woot it should be there

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2008
    Posts
    165
    Thanks given
    2
    Thanks received
    1
    Rep Power
    30
    haha wow im an idiot... I thought it was my environment variables... wow now i feel stupid. Thanks for the fix
    Reply With Quote  
     

  4. #4  
    Registered Member
    X Mercy X's Avatar
    Join Date
    May 2009
    Age
    31
    Posts
    1,336
    Thanks given
    3
    Thanks received
    41
    Rep Power
    301
    make sure to read your errors CAREFULLY it literally prints it out to u
    Exception in thread "main" java.lang.NoClassDefFoundError: palidino76/rs2/Server
    the "main "bit says it can't find the java default main method. java.lang.noclass describes the error the rest shows u where its trying 2 load from

    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
  •