Re: org.apache.xml.serializer.TreeWalker removed from xalan-2.7.1?

Michael Glavassevich <[email protected]>
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <OFC37B5E53.1735085B-ON85257652.0055E4BC-85257652.005748B5@ca.ibm.com>
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: [email protected]
E-mail: [email protected]

"Betts, Chuck" <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.