ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janusz Dalecki \(TYCO\)" <jdale...@tycoint.com>
Subject Two jar on the path specifying the same class - is it a problem?
Date Wed, 04 Sep 2002 01:18:33 GMT
I have noticed that if I specify on my path both xml-apis.jar and
Xalan.lib, and then use a task that needs a TransformerFactory (like xmltask
from OOPS Consultancy Ltd <http://www.oopsconsultancy.com/>), the task will
fail with the error:
“javax.xml.transform.TransformerFactoryConfigurationError: Provider for
javax.xml
.transform.TransformerFactory cannot be found”
This is because both jar files define the above class. I thought that the
first jar file on the path containing the requested class from loader is
used.
Anyone knows why?
Janusz


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message