cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Bialecki" <ar...@digitalfairway.com>
Subject RE: Simple installation problem?
Date Wed, 24 Apr 2002 21:51:27 GMT

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:gnitzan@usa.net]
Sent: Wednesday, April 24, 2002 6:33 PM
To: cocoon-users@xml.apache.org
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message