ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Linkage error with new jspc task
Date Wed, 09 Jan 2002 21:45:18 GMT

----- Original Message -----
From: <>
To: <>
Sent: Wednesday, January 09, 2002 10:37
Subject: Linkage error with new jspc task

> Hi everyone,
> I am using ant 1.5 alpha, to get access to the new jspc task.
> However, I am running into the following error when I try and execute it:
> C:\dev\kiosk\Design\Admin\build.xml:87: java.lang.LinkageError: loader
> ts violated when linking org/w3c/dom/Document class
> Looking through the mailing list, it appears that Ant sometimes has
trouble with
> the task loader loading classes that have already been loaded eg with
> crimson.jar and xerces.jar (see
> suggestion there was to use fork="true" to get it to work, but this is not
> option with the jspc task.

good point. we should add that. Care to make the change?

> Would REALLY appreciate any help on this one!  The new task will save
> time by selectively reprecompiling.  Do I need to replace crimson.jar with
> something else?

try putting all the jars you depend on into ant\lib, rather than the
classpath. Xerces is probably the problem.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message