Thread: Exception in thread "main" java error

Results 1 to 2 of 2
  1. #1 Exception in thread "main" java error 
    Registered Member
    Join Date
    Jun 2010
    Posts
    14
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    hey all, i've got a problem with hosting any source. I can play a server with any client it is just a hosting rpoblem... anyways if anyone has a solution how to fix let me know via this thread. If you could fix for me through Team Viewer please leave a message on here. Thanks will rep++


    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: net/com/codeusa/Server
    Caused by: java.lang.ClassNotFoundException: net.com.codeusa.Server
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: net/com/codeusa/Server.  Program will exit.
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2010
    Age
    28
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    20
    1) You didn't build/compile your server

    2) Your paths aren't set correctly

    We could help if we knew your framework's structure and your cmd batch code.
    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
  •