[jdom-interest] Starter!! Need help.....NoClassDefFoundError!!?
Aaron Oathout
aaron at codejunkies.org
Thu Jul 12 17:40:19 PDT 2001
SAXBuilderDemo.java is part of the "samples" package. Do you have the
source file in a folder called samples? if not, it needs to be. Put it in
a folder called samples, then javac samples/SAXBuilderDemo.java. To
execute: java samples.SAXBuilderDemo
Aaron
On Thu, 12 Jul 2001, Vara Prashanth wrote:
> 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
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>
More information about the jdom-interest
mailing list