Results 1 to 7 of 7
  1. #1
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default Exception in thread "main" java.lang.NoClassDefFoundError: client Help

    what is this and how can i fix it
    Exception in thread "main" java.lang.NoClassDefFoundError: client
    Caused by: java.lang.ClassNotFoundException: client
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    Press any key to continue . . .

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,259
    Rep Power
    25

    Default

    See post on other thread.

  3. #3
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    8

    Default

    java.lang.ClassNotFoundException: client
    The jvm (java virtual machine) cannot find the "client" class file , ie, the source file compiled into byte code.
    Make sure it is in the current directory.

  4. #4
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    how i make it to my directory?

  5. #5
    erimal is offline Member
    Join Date
    Aug 2008
    Posts
    1
    Rep Power
    0

    Default

    hi b000m
    check this hello word application, you may detect what is wrog with your code

    class HelloWordApp {

    public static void main (String[] args) {

    System.out.println("Hello world");
    }

    }

  6. #6
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    where i put it;(?

  7. #7
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hi,
    You should have imported the class "Client" before using it in your code right?

    thats not being detected by jvm, check that and the package structure from where you imported. If its correct then make sure its not private and is visible to to your code.
    To finish sooner, take your own time....
    Nivedithaaaa

Similar Threads

  1. Replies: 1
    Last Post: 08-07-2007, 07:10 AM
  2. Replies: 1
    Last Post: 08-06-2007, 06:07 AM
  3. Replies: 2
    Last Post: 08-01-2007, 05:26 AM
  4. Replies: 1
    Last Post: 07-25-2007, 10:55 PM
  5. Replies: 1
    Last Post: 07-16-2007, 06:32 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
  •