cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Class not found : org.apache.cocoon.samples.parentcm.Generator
Date Mon, 08 Apr 2002 12:51:24 GMT
Edit sitemap.xmap and remove line:

<map:generator name="parentcm"
src="org.apache.cocoon.samples.parentcm.Generator"/>

and lines:

    <!-- =============== Parent Component Manager ======================
-->
    <map:match pattern="parentcm">
      <map:generate type="parentcm" src="{1}"/>
      <map:transform src="stylesheets/parentcm/time.xsl"/>
      <map:serialize/>
    </map:match>

if you do not need this demo. Clean Tomcat's work directory and restart
tomcat.

Vadim

-----Original Message-----
From: du Plessis, Corneil C [mailto:CAduPlessis1@sbic.co.za] 
Sent: Monday, April 08, 2002 5:28 AM
To: cocoon-users@xml.apache.org
Subject: Class not found : org.apache.cocoon.samples.parentcm.Generator

I have downloaded Tomcat 4.0.1 and Cocoon 2.0.2 and placed cocoon.war in
tomcat/webapps 
I get this exception: 
java.lang.ClassNotFoundException:
org.apache.cocoon.samples.parentcm.Generator 
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200) 
        at java.security.AccessController.doPrivileged(Native Method) 
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188) 
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299) 
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255) 
        at
org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:88) 
Yet the relevant class does exist in cocoon/WEB-INF/classes 
I have not changed any of the Tomcat options other than adding a
user/pwd for the manager application. 
If someone has experienced a similar problem please let me know. 

Corneil du Plessis 
______________________________________________



---------------------------------------------------------------------
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