In some cases if the cocoon.jar (and its libs) are loaded from the lib directory
they cannot see classes from the applications. Try putting cocoon.jar and its
core libs in the WEB-INF/lib directory of you war. Or you can jar up your custom
classes and throw that jar in tomcat's lib (where cocoon.jar lives).

I had this problem witch C2.0.2, Tomcat 4.0.4b2 and JBoss 2.4 and since
more than one app used Cocoon I had to go with the second option.

Hope this helps.

Artur...

-----Original Message-----
From: Gal Nitzan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 6:33 PM
To: [EMAIL PROTECTED]
Subject: Simple installation problem?


++++++++++++++++++++++++++++++++++++++++
+ Cocoon 2.2 + Tomcat 4.0.4 b2 + WIN-2K + JBuilder+
++++++++++++++++++++++++++++++++++++++++

Hi,

    All my setup is working fine, But when I try to call my own Java classes from XSP 
pages I get nothing, no error no content.

    While debugging my page_XSP.java class I notice there is a NoClassDefFoundError 
but there is no reason for that. The classes
reside in the /WEB-INF/classes...

    so what could it be !?


Thanks,

Gal.


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