cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: xsp-error
Date Thu, 09 Nov 2000 13:30:23 GMT
You have a DOM level 1 parser in your classpath. You should put
xerces.jar _before_ xml.jar in Tomcat's classpath.

-Sylvain

"wolfgang.huber" a écrit :
> 
> hi,
> i've got a problem :
> i am running suse linux 6.4 with Apache 1.3.12, Tomcat 3.1 and Cocoon
> 1.7.4.
> 
> everything is working, but i can not process
> xsp-pages.
> 
> if i request the following xsp-page:
> 
> <!-- begin -->
> <?xml version="1.0"?>
> <?cocoon-process type="xsp"?>
> 
> <xsp:page language="java"
> xmlns:xsp="http://www.apache.org/1999/XSP/Core">
> 
> <xsp:structure>
>   <xsp:include>java.text.*</xsp:include>
> </xsp:structure>
> 
> <html>
> <head>
>         <title>Sample XSP-Page</title>
> </head>
> <body>
>    <p>blah blah blah</p>
>    <xsp:logic>
>         DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL,
> DateFormat.FULL);
>    </xsp:logic>
>    <xsp:expr>df</xsp:expr>
> </body>
> </html>
> </xsp:page>
> <!-- end -->
> 
> i get always the following error message, not dependend to the xsp-file
> i request.
> Every xsp-request causes the following error message:
> 
> <!-- begin of error message -->
>                                                   Error found handling
> the request.
> 
>      java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V
> not found
>              at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:87)
>              at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:123)
>              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:385)
>              at org.apache.cocoon.Engine.handle(Engine.java:305)
>              at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>              at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>              at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
>              at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>              at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
>              at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
>              at java.lang.Thread.run(Thread.java:475)
> 
> <!-- end of error message -->
> 
> where's the problem ?
> 
>   wolfgang
> 
> ---------------------------------
> this is LARGE
> http://large.datablocks.net

Mime
View raw message