Have you copyied the following three files from the Xalan-j bin directory to the Ant 
lib directory?

xalan.jar, xerces.jar, xml-apis.jar


Spielmann Urban wrote:

> Hello
>
> I have problems to use the style task with Xalan-J2.2.
> When I build with the following statement:
>     <style basedir="${config}" destdir="${dest}" extension="dot"
>            classpath="${steplet.classpath.global}"
>            processor="xalan"
>            style="CreateGraph.xsl"
>            in="StepletConfigfile.xml">
>             <param name="environment" expression="${env}"/>
>     </style>
>
> I get the error:
> style
> java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory
> java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory
>
> When I set "trax" instead of "xalan" for the processor attribute I get the
> error:
> style
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
>
> What do I wrong?
>
> Thanks for any help!
>
> Best regards,
> Urban
>
> >>> Rentenanstalt/Swiss Life - Official Partner Expo.02 <<<
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to