cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vishal khatnani khatnani" <u...@hotmail.com>
Subject xsp error! please help!
Date Tue, 12 Feb 2002 03:06:19 GMT
Group,

I am developing a dynamic page with xml. I have included several packages 
(such as javax.parsers & transform ...etc... in my xml file). What I have is 
java code (xsp:logic) that adds a child node to another xml file on my 
server.

I think the problem is to do with the cocoon classpath but I can't figure 
out the exact problem. I have added the classpath to "catalina.bat" file, so 
that all the xml-related jar files are included in Tomcat's JVM.... but 
still no luck.

Can anyone spot the problem? Where do I put my jar files then? My xml file 
that includes the xsp code is in the webapps/cocoon/proj/xsp/ directory... 
and my jar files are in C:/javaxml/ directory.

Also, I added an entry to the sitemap so that it knows were to look for the 
xsp file....

Here's what I get:

----------------------------------------------------
The org.apache.cocoon.www.sitemap_xmap notifies that 
org.apache.cocoon.ProcessingException says:

Language Exception

More precisely:

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
testxsp_xml:
Line 172, column 4: Class org.apache.cocoon.www.proj.xsp.Document not found.
Line 172, column 28: Class org.apache.cocoon.www.proj.xsp.Document not 
found.
Line 173, column 4: Class 
org.apache.cocoon.www.proj.xsp.DocumentBuilderFactory not found.
Line 173, column 37: Class 
org.apache.cocoon.www.proj.xsp.DocumentBuilderFactory not found.
Line 173, column 37: Undefined variable or class name: 
DocumentBuilderFactory
Line 177, column 6: Class org.apache.cocoon.www.proj.xsp.DocumentBuilder not 
found.
Line 180, column 6: Class org.apache.cocoon.www.proj.xsp.Element not found.
Line 180, column 22: Class org.apache.cocoon.www.proj.xsp.Element not found.
Line 182, column 6: Class org.apache.cocoon.www.proj.xsp.NodeList not found.
Line 203, column 8: Class org.apache.cocoon.www.proj.xsp.Node not found.
Line 210, column 10: Class org.apache.cocoon.www.proj.xsp.NodeList not 
found.
Line 212, column 12: Class org.apache.cocoon.www.proj.xsp.Node not found.
Line 214, column 14: Class org.apache.cocoon.www.proj.xsp.Element not found.
Line 214, column 28: Class org.apache.cocoon.www.proj.xsp.Element not found.
Line 235, column 6: Class org.apache.cocoon.www.proj.xsp.Node not found.
Line 235, column 19: Class org.apache.cocoon.www.proj.xsp.Node not found.
Line 239, column 6: Class org.apache.cocoon.www.proj.xsp.TransformerFactory 
not found.
Line 239, column 36: Class org.apache.cocoon.www.proj.xsp.TransformerFactory 
not found.
Line 239, column 36: Undefined variable or class name: TransformerFactory
Line 240, column 6: Class org.apache.cocoon.www.proj.xsp.Transformer not 
found.
Line 241, column 6: Class org.apache.cocoon.www.proj.xsp.DOMSource not 
found.
Line 241, column 29: Class org.apache.cocoon.www.proj.xsp.DOMSource not 
found.
Line 242, column 6: Class org.apache.cocoon.www.proj.xsp.StreamResult not 
found.
Line 242, column 32: Class org.apache.cocoon.www.proj.xsp.StreamResult not 
found.
Line 254, column 11: Class 
org.apache.cocoon.www.proj.xsp.ParserConfigurationException not found.
Line 264, column 11: Class 
org.apache.cocoon.www.proj.xsp.TransformerConfigurationException not found.
Line 276, column 11: Class 
org.apache.cocoon.www.proj.xsp.TransformerException not found.
Line 0, column 0:
27 errors



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message