Just a thought - is Cocoon itself in your classpath, or
your WEB-INF/lib?

If the former, then the ClassLoader associated with
cocoon's code will be the standard classloader, and
may not find classes which are in the WEB-INF/classes
directory (accessable via the context's ClassLoader).


> -----Original Message-----
> From: Robert Nicholson [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 5:42 PM
> To:   Tomcat-User; SERVLET-INTEREST; Jxquick-Interest; JSP-INTEREST
> Subject:      Why can't Cocoon find my producer class?
> 
> I have a custom Producer class that I wrote for Cocoon 1.7.4 that I'm
> using
> with Tomcat but whenver I access Cocoon.xml it reports that it couldn't
> find
> my class.
> 
> I've put my class in my contexts WEB-INF/classes
> 
> and I've tried putting it outside of here and adding
> the path to the classpath on the command line.
> 
> What gives? Where does Cocoon look for it's custom Producers?
> 
> ---
> Robert Nicholson
> Email: [EMAIL PROTECTED]
> AOL  : rydmerlin

Reply via email to