[jdom-interest] Anything else for beta 9?

Jason Hunter jhunter at servlets.com
Sun Apr 6 14:16:41 PDT 2003


OK, I put ant.jar, junit.jar, and optional.jar in
/Library/Java/Extensions.  Now "build test" is running but it can't find
the test cases:

<error message="org.jdom.test.cases.TestAttribute"
type="java.lang.ClassNotFoundException">java.lang.ClassNotFoundException:
org.jdom.test.cases.TestAttribute
        at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
</error>

What a pain in the ass.  No doubt this is all caused by funny
classloading logic.  Rusty, I bet your problem is you have some old
jdom.jar being found from before CDATA extended Text.

Anyway, if anyone's an Ant/JUnit master, please take a look.  Laurent's
our guru, but he's out this week.

-jh-



More information about the jdom-interest mailing list