I've defined a project classpath, but when my task attempts to invoke
Xalan, it bombs with the error:
java.lang.LinkageError: loader constraints violated when linking
org/xml/sax/InputSource class
[java] at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:929)
The path looks like this (referenced with the refid attribute of a
classpath element:
<property name="JAVA_LIB" location="/home/grs2001/software/java_lib"/>
<path id="project.class.path">
<!-- Core XML API's -->
<pathelement location="${JAVA_LIB}/xml/xml-apis.jar"/>
<!-- Xerces XML Engine -->
<pathelement location="${JAVA_LIB}/xml/xercesImpl.jar"/>
<!-- Xalan XSLT Engine -->
<pathelement location="${JAVA_LIB}/xslt/xalan.jar"/>
<!-- Xalan Extensions -->
<pathelement location="${JAVA_LIB}/xslt/bsf.jar"/>
<!-- JDOM XML Engine -->
<pathelement location="${JAVA_LIB}/xml/jdom.jar"/>
<!-- JDBC Thin drivers for Oracle 9i -->
<pathelement location="${JAVA_LIB}/classes12.zip"/>
</path>
What is going on?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>