ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: JUnit Task Error
Date Thu, 14 Dec 2000 17:22:54 GMT
Bradley Williams <bwilliams@clientsoft.com> wrote:

> This test runs fine out side of ant !
> I get this error when running build with the junit task.
> Any ideas on what might be wrong ?

Yes. It's a classloader issue. 

The SAX1 classes have already been loaded via the system classloader
because Ant needs them itself. Now you are trying to load classes from
that package via a different classloader and this will give you the
LinkageError. 

If you set fork="yes" it should work.

Stefan

Mime
View raw message