I believe that class moved into serializer.jar. Check whether it's in your
classpath.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

"Betts, Chuck" <chuck_be...@intuit.com> wrote on 10/16/2009 07:14:16 PM:

> Hi,.
>
> I am updating our source to use xalan-2.7.1.  When I was running
> regression tests, I noticed many errors like the one at the end of
> the email.  I looked in both the 2.7.0 jar and 2.7.1 jar and indeed
> the TreeWalker class seems to be missing from 2.7.1.  I checked the
> release notes and JIRA but cannot determine why it was removed.
> Does anyone know why this class was removed, and what is needed to
> replace it?  Thanks in advance.
>
> java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
>                 at org.apache.xalan.processor.
> TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:823)
>                 at com.xxx.spc.services.idauthority.api.token.
> AsyncTicketMarshallerV0.marshall(Unknown Source)
>                 at com.xxx.spc.services.idauthority.api.token.
> TokenManagerV0.createAsyncTicket(Unknown Source)
>                 at com.xxx.spc.services.test.idauthority.api.
> IDAuthorityAPITestBase.
> verifyCreateAsyncTicket(IDAuthorityAPITestBase.java:1038).
>                 at com.intuit.spc.services.test.idauthority.api.
> token.CreateAsyncTicketAPITest.
> testCreateAsyncTicket_IdentityMultiPermTaskRoleEmptyPerm
(CreateAsyncTicketAPITest.
> java:324)
>                 at org.springframework.test.ConditionalTestCase.
> runBare(ConditionalTestCase.java:76)
> Caused by: java.lang.ClassNotFoundException: org.apache.xml.
> serializer.TreeWalker
>                 at java.net.URLClassLoader$1.run
(URLClassLoader.java:200).
>                 at java.security.AccessController.doPrivileged(Native
Method)
>                 at java.net.URLClassLoader.findClass
(URLClassLoader.java:188)
>                 at java.lang.ClassLoader.loadClass(ClassLoader.java:307):
>                 at sun.misc.Launcher$AppClassLoader.
> loadClass(Launcher.java:301)
>                 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>                 at java.lang.ClassLoader.
> loadClassInternal(ClassLoader.java:320)
>
> --Chuck

Reply via email to