> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Hi, > > I'm deploying Cocoon as a war file (within an ear file). > My own sitemap.xmap file contains references to self-written generators but > when I try and access my files through a browser the sitemap cannot find them, > therefore cannot be compiled, and throws the following error: > java.lang.NoClassDefFoundError:org/apache/cocoon/generation/ServletGener ator
Make sure you have your generator in the WEB-INF/classes or in the jar file in WEB-INF/lib of the Cocoon webapp. Vadim > > I tried jarring up my files into WEB-INF/lib - this didn't make a difference > I tried also adding an extra-classpath reference in web.xml pointing to this > jar file - again, this didn't make a difference > I tried just unjarring the files into WEB-INF/classes - and again, this made > no difference > > How can I tell Cocoon where to find my generator (and other) files? > > TIA > > C. > -- > > > __________________________________________________________________ > Your favorite stores, helpful shopping tools and great gift ideas. Experience > the convenience of buying online with Shop@Netscape! > http://shopnow.netscape.com/ > > Get your own FREE, personal Netscape Mail account today at > http://webmail.netscape.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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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]>