You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Mi...@sysline.com on 2000/08/10 13:45:04 UTC

java.lang.NoClassDefFoundError: com/sun/xml/tree/XmlDocument

Hi

I am running NT 4 + JDK 1.1.7B + SOAP 2.0 rc2 and I am trying to call SOAP
server from the WebLogic 4.51.
Unfortunately one of the EJB-beans is using SUN's jaxp-parser and when I
add xerces.jar before parser.jar
the EJB-Bean which needs parser jar will give me a following error.

Thu Aug 10 14:24:23 GMT+03:00 2000:<I> <EJB> Transaction: '965906301623_70'
roll
ed back due to EJB exception:
java.lang.NoClassDefFoundError: com/sun/xml/tree/XmlDocument
        at com.sun.xml.tree.XmlDocumentBuilder.createDocument(Compiled
Code)
        at
com.sun.xml.tree.XmlDocumentBuilder.startDocument(XmlDocumentBuilder.
java:350)
        at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java
:95)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:78)

Any ideas what I could do for this. I have thought that different parsers
are compatible which each other
but I quess I am wrong. If this is the case it will be really impossible to
maintain environment where you get
components from many different places and versions.

I have tried to use Xerces 1.1.2 and 1.1.3 and Jaxp 1.0 and 1.01

Mika