You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Yann <yl...@ims.ltd.uk> on 2000/04/10 11:48:57 UTC
Normalize method not found (Cocoon 1.7.2)
Trying the XSP pages today I got the following Error:
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(XSPJavaPreprocessor.java, Compiled Code)
at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.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)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:146)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334)
at java.lang.Thread.run(Thread.java:479)
I am using Cocoon 1.7.2.
Any idea? I noticed when I installed Cocoon 1.7.2 that there was not the xml.jar anymore.
Yann.
Re: Normalize method not found (Cocoon 1.7.2) [Windows .zip misses xml.jar]
Posted by Yann <yl...@ims.ltd.uk>.
> yes. You don't need xml.jar anymore.
Well I had to reput it in cocoon\lib so that things worked. I don't
understand why because I have no other xml parsers in my classpath so it
can't be that the wrong implementation is chosen (my CLASSPATH is always
empty). I do understand why this file is not needed in Cocoon 1.7.2 though.
Yann.
Re: Normalize method not found (Cocoon 1.7.2) [Windows .zip misses
xml.jar]
Posted by Stefano Mazzocchi <st...@apache.org>.
> Yann wrote:
>
> I found what it was!
>
> I run on Windows NT and before I installed Cocoon 1.7.2 I uninstalled
> Cocoon 1.7.
>
> After installing Cocoon 1.7.2 I noticed there wasn't any xml.jar
> library in the lib directory anymore. Since I am not too familiar with
> the XML parsers used in Cocoon I thought that things had been
> reorganised.
>
> It appears that the .zip file for Windows doesn't contain the xml.jar
> file.
>
> Is this something that you guys at Cocoon are aware of?
yes. You don't need xml.jar anymore.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: Normalize method not found (Cocoon 1.7.2) [Windows .zip misses xml.jar]
Posted by Yann <yl...@ims.ltd.uk>.
I found what it was!
I run on Windows NT and before I installed Cocoon 1.7.2 I uninstalled Cocoon 1.7.
After installing Cocoon 1.7.2 I noticed there wasn't any xml.jar library in the lib directory anymore. Since I am not too familiar with the XML parsers used in Cocoon I thought that things had been reorganised.
It appears that the .zip file for Windows doesn't contain the xml.jar file.
Is this something that you guys at Cocoon are aware of?
Yann.
Re: Normalize method not found (Cocoon 1.7.2)
Posted by Edas Pazera <ed...@usa.net>.
I had similar problem. I think it was because I had both JAXP (via CLASSPATH) and XML (via EXT directory) jars installed. I removed XML and everything works now.
--Edas
----- Original Message -----
From: Yann
To: cocoon-users@xml.apache.org
Sent: Monday, April 10, 2000 5:48 AM
Subject: Normalize method not found (Cocoon 1.7.2)
Trying the XSP pages today I got the following Error:
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(XSPJavaPreprocessor.java, Compiled Code)
at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.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)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:146)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334)
at java.lang.Thread.run(Thread.java:479)
I am using Cocoon 1.7.2.
Any idea? I noticed when I installed Cocoon 1.7.2 that there was not the xml.jar anymore.
Yann.