cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "du Plessis, Corneil C" <CAduPless...@sbic.co.za>
Subject RE: Class not found : org.apache.cocoon.samples.parentcm.Generato r
Date Mon, 08 Apr 2002 14:26:56 GMT
Once I cleaned work/cocoon the problem went away. 
It was probably still a problem from trying to build 2.0.1

Thanks

-----Original Message-----
From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
Sent: 08 April, 2002 14:51
To: cocoon-users@xml.apache.org
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: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>

______________________________________________

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.


______________________________________________

Mime
View raw message