cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricardo Rocha" <>
Subject RE: Problem running XSP samples
Date Wed, 19 Jan 2000 23:50:27 GMT
On Jan-19-2000 Pascal Houde wrote:
> I can't run any of the Cocoon 1.6 XSP samples. I always get a
> "java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V not
> found". See below for complete stack trace.
> At the line where the error occur ( there's a
> switch statement in the process(Node) method where it test the node type.
> When it's an ELEMENT_NODE, it cast the Node object to an Element 
> object and calls the normalize method (line 115). It fails at that point.
> I am using Xerces 1.0.1 for my DOM implementation (I guess that 
> the error is here...).

This is a problem for which Donald Ball already found a solution:

On Jan-13-2000 Donald Ball wrote:
> Actually, I just fixed the problem locally. I moved Xerces.jar to the top
> of the CLASSPATH and things are working again. Irritating, that so many
> JARs include different variations on DOM.
> - donald

This happened to me as well. I fixed it by placing Xerces before Xalan
in the classpath setting.

View raw message