xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT ibiblio.org>
- To: XOM interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] JUnit classpath issues
- Date: Sat, 24 Feb 2018 16:14:15 -0500
What's really weird is that the compiler, both ant and Eclipse, finds
JUnit but at runtime I get this error.
On Sat, Feb 24, 2018 at 4:08 PM, Elliotte Rusty Harold
<elharo AT ibiblio.org> wrote:
> 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
--
Elliotte Rusty Harold
elharo AT ibiblio.org
-
[XOM-interest] JUnit classpath issues,
Elliotte Rusty Harold, 02/24/2018
-
Re: [XOM-interest] JUnit classpath issues,
Elliotte Rusty Harold, 02/24/2018
- Re: [XOM-interest] JUnit classpath issues, Elliotte Rusty Harold, 02/24/2018
-
Re: [XOM-interest] JUnit classpath issues,
Elliotte Rusty Harold, 02/24/2018
Archive powered by MHonArc 2.6.24.