[jdom-interest] werken question

bob mcwhirter bob at werken.com
Sat Dec 1 14:10:59 PST 2001


First, werken.xpath is deprecated.

Use Jaxen (http://jaxen.org/)

Second, if you rename a file, you must also rename the class contained
in that file (though the compiler should catch that error).  Might that
be your problem?

	-bob

On Sat, 1 Dec 2001, Brian Wolf wrote:

> I renamed the Test.java as TestX.java code from the Werken XPath distribution,
> and managed to compile it, but it doesn't seem to run:
> 
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: TestX (wrong name: co
> m/werken/xpath/TestX)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         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)
> 
> 
> 




More information about the jdom-interest mailing list