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:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 5:28 AM
To: [EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to