Hi!
I am trying to use castor-xml (1.3) in Websphere 7.0
When I try to mashal an object I get the following exception


Caused by: java.lang.RuntimeException: Could not instantiate serializer
com.sun.org.apache.xml.internal.serialize.XMLSerializer:
java.lang.ClassNotFoundException:
com.sun.org.apache.xml.internal.serialize.XMLSerializer
        at
org.exolab.castor.xml.XercesJDK5Serializer.<init>(XercesJDK5Serializer.java:58)
        at
org.exolab.castor.xml.XercesJDK5XMLSerializerFactory.getSerializer(XercesJDK5XMLSerializerFactory.java:34)
        at
org.exolab.castor.xml.util.XMLParserUtils.getSerializer(XMLParserUtils.java:224)
        at
org.castor.xml.AbstractInternalContext.getSerializer(AbstractInternalContext.java:363)
        at
org.exolab.castor.xml.Marshaller.configureSerializer(Marshaller.java:389)
        at org.exolab.castor.xml.Marshaller.setWriter(Marshaller.java:383)
        at org.exolab.castor.xml.Marshaller.<init>(Marshaller.java:368)
        at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:803)


Could anyone please help me out what i am doing wrong?

I found the follwing issue in jira
http://jira.codehaus.org/browse/CASTOR-2411  which seems to discuss the
problem, but I can't understand how to get around the problem.

regards
Daniel

Reply via email to