>From xdocs/todo.xml: <action context="code" bugid="11"> Add standard WEB-INF/classes and WEB-INF/lib to XSP classpath. </action>
So I don't think it's possible with Cocoon 1. It looks like XSP pages have their own classloader (org.apache.cocoon.processor.xsp.language.java.XSPClassLoader), and perhaps that's not delegating like it should. Btw, Tomcat 4 (and 3.3) ignores your system classpath, so setting it on the command-line won't work. I think there's a magic property either in Tomcat or Cocoon that lets you bypass this. Um. Not sure what the solution is :/ --Jeff On Fri, Dec 14, 2001 at 12:29:59PM -0500, Brent L Johnson wrote: > I'm running Cocoon 1.8.2 and I've just upgraded from Tomcat3.x to > Tomcat4.0.1. According to Tomcat's documentation, anything in > WEB-INF/classes is available (so I dont have to put it in my > classpath). I've got my own com.blah.globals package in > WEB-INF/classes/com/blah/globals. When I try and import this in my > cocoon logicsheet I get a NoClassDefFoundError: > > java.lang.NoClassDefFoundError: com/rrp/globals/Globals at > _home._reedy._docs._production._pcteachit_com._temp.<init>(_temp.java:33) > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Class.java:237) > > If anyone has any ideas on this I would really appreciate it. I tried > adding it to my classpath and restarting everything and I still get > the same error. > > Thanks! > > - Brent --------------------------------------------------------------------- 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]>