cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michele bianchi <...@pow2.com>
Subject Re: XSP and Classloader Trouble
Date Wed, 14 Mar 2001 18:35:14 GMT
On Wed, 14 Mar 2001, Jonathan Fuerth wrote:

> Hi. This message may appear to be offtopic, but it isn't. :)
> 
> I'm using Tomcat 3.2.1 and Cocoon 1.8.2.  I want to be able to call my
> own utility classes (which live within the web application context)
> from an xsp page.  I think there's some sort of classloader problem
> preventing me from doing this.  Details follow:
> 
> I wrote a little utility class called
> ca.sqlpower.util.ZealousURLEncoder.zealousEncode(), and put its
> compiled classfile in
> $CONTEXT_ROOT/WEB-INF/classes/ca/sqlpower/util/ZealousURLEncoder.class.
> 
> I want to call my class from within an <xsp:logic> element.  I have
> an <xsp:include>ca.sqlpower.util.*</xsp:include> statement within the
> <xsp:structure> at the top of my xsp file.  This causes no problems.
> 
> When I try to call the zealousEncode method, however, I get this:
> 
> java.lang.NoClassDefFoundError: ca/sqlpower/util/ZealousURLEncoder
> 
> Does anyone have any hints?

no way, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11

m

-------------------------------------------------------------------------------
dott. michele bianchi                                       power of two s.r.l.
phone +39 335 5384700                                      http://www.pow2.com


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