Yes this is what I tries as well. ie put latest xerces.jar first in classpath.
xml.jar was commented out too to eliminate that posisble conflict.

Still getting that exception..

Alan

"Zhao, Yutong" wrote:

> I have the same problem when I tried to integreate
> Jetspeed with JRun on Windows NT.
> Even if I put the newest version of xerces.jar on the
> very beginning on the classpath, the error still occured:
> ----------------------
> Exception: java.lang.NoSuchMethodError: org.w3c.dom.Node: method
> normalize()V not found
>         at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java,
> Compiled Code)
>         at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
> PJavaPreprocessor.java, Compiled Code)
>         at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
> PJavaPreprocessor.java, Compiled Code)
>         at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess
> (XSPJavaPreprocessor.java:81)
>         at
> org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
>         at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
> Compiled Code)
> ........
> ----------------------------------------------
> Any suggestion?
>
> -Yutong
>
> -----Original Message-----
> From: Peter Donald [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 5:58 PM
> To: JetSpeed
> Subject: Re: XSP problems. damn jdk1.3 for linux and WINDOWS
>
> At 05:46  13/10/00 +0200, you wrote:
> >Last mail incomplete:::
> >
> >OK, ive tried everything here. Double checked xerces.jar etc 1.1.2.
> >
> >This exeption is actually correct - in xerces .jar
> >
> >org.w3c.dom.Node: method normalize() doesnt exist.
> >
> >Anyone any idea whats wrong here. Have i got a wrong version of xerces? or
> >something?
>
> org.w3c.dom.Node.normalize() is a really old method. It is included in some
> old  xml parsers (like xml.jar from sun). So you are including a jar that
> has these classes somewhere in the classpath for your servlet. So you have
> to check all of classpaths and make sure all listed jars don't have said
> classes (except for xerces.jar).
>
> Cheers,
>
> Pete
>
> *------------------------------------------------------*
> | "Nearly all men can stand adversity, but if you want |
> | to test a man's character, give him power."          |
> |       -Abraham Lincoln                               |
> *------------------------------------------------------*
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to