Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] JUnit classpath issues

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT ibiblio.org>
  • To: XOM interest <xom-interest AT lists.ibiblio.org>
  • Subject: [XOM-interest] JUnit classpath issues
  • Date: Sat, 24 Feb 2018 16:08:37 -0500

Now that I've finally got https working, I'm trying to make some small
fixes that have accumulated over the last few years.

ATM the tests are all failing though, due to some weird JUnit classpath issue:

Can anyone look at the git repo and see what the problem is? Maybe the
old bundled junit.jar is borked somehow in modern VMs?

java.lang.NoClassDefFoundError: junit/framework/TestCase
at java.lang.ClassLoader.deefineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142))
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java::361)
at java.lang.ClassLoader.loaadClass(ClassLoader.java:424)

at java.lang.ClassLoader.loadClass(ClassLoader.java:4111)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:3331)
at java.lang.ClassLoader.loadClass(ClassLoader.java::357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoaader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader..java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method))
at java.net.URLClassLoader.findClass(URLClassLoader.java:3661)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.net.URLClassLoader.findClass(URLClassLoader.java:3881)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loaadClass(ClassLoader.java:357)



--
Elliotte Rusty Harold
elharo AT ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page