[jdom-interest] Starter!! Need help.....NoClassDefFoundError!!?

Vara Prashanth concord_22 at hotmail.com
Thu Jul 12 16:36:28 PDT 2001


Hi all

I am just a starter to JDOM so my question may come as a wild one to some of
you gold haired ppl.

I installed the beta 7 version, followed the instructions like placing the
xerces.jar file on my classpath. When I compile a sample java file
SAXBuilderDemo.java....i dont get an error but when I run it I get the
following message(s)

Exception in thread "main" java.lang.NoClassDefFoundError: SAXBuilderDemo
(wrong
 name: samples/SAXBuilderDemo)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

What else could I be missing out on?

Please shoot in your suggestions

Thanx
Prashanth




More information about the jdom-interest mailing list