I tried that as well.
-----Original Message-----
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: 08 April, 2002 14:51
To: [EMAIL PROTECTED]
Subject: RE: Class not found :
org.apache.cocoon.samples.parentcm.Generator
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]>
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official business of Standard Bank Investment Corporation (Stanbic) is proprietary to the company. It is confidential, legally privileged and protected by law. Stanbic does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Stanbic.
The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.
Stanbic can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.
_______________________________________________