Hi,
You need to include serializer.jar file also. This file includes the
serializer. In the Xalan Java 2.7 release, serializer code is included in
this jar file. The release 2.6 has serializer code included in the
xalan.jar file.
Thanks!
Yash Talwar
XSLT Development / Xalan
IBM Toronto Lab
EMail: [EMAIL PROTECTED]
Phone #: 905-413-5920
[EMAIL PROTECTED]
08/10/2005 05:04 To
PM [email protected]
cc
Please respond to Subject
xalan-dev 2.7.0 and TreeWalker
I updated my xalan to the new 2.7 release. When i do, using this code:
TransformerFactory tff = TransformerFactory.newInstance();
I get:
java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:821)
com.primavera.infr.admin.DomUtil.serializeDomDoc(DomUtil.java:39)
i rolled back xalan to the last version, and i don't get this.
I assume that i am putting together incompatible versions of jars, but for
the
life of me can't figure out what? The 2.7 xalan appears to have this class
in
org/apache/xml/utils, not org/apache/xml/serializer.
Any ideas what i am doing wrong? This is a web app under tomcat 5.0.29 were
we
have supplied xalan and xerces in our war.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]