Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 26604 invoked from network); 17 Jan 2000 19:19:21 -0000 Received: from goofy.vt.fh-koeln.de (root@139.6.116.2) by 63.211.145.10 with SMTP; 17 Jan 2000 19:19:21 -0000 Received: from fh-koeln.de (port073.dialin-nc.FH-Koeln.DE) by goofy.vt.fh-koeln.de with SMTP id AA24858 (5.65c/IDA-1.4.4 for ); Mon, 17 Jan 2000 20:19:47 +0100 Message-Id: <38836AF6.EA5E0CFC@fh-koeln.de> Date: Mon, 17 Jan 2000 20:18:14 +0100 From: Sascha =?iso-8859-1?Q?M=9Fller?= X-Mailer: Mozilla 4.5 [de] (WinNT; I) X-Accept-Language: de, en Mime-Version: 1.0 To: cocoon-users@xml.apache.org Subject: [Fwd: Re: Simple help on Cocoon DCP-classes] Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit -------- Original Message -------- Von: Sascha Mller Betreff: Re: Simple help on Cocoon DCP-classes An: general@xml.apache.org Ricardo Rocha schrieb: > > > Sorry, i am confuesd. It was i the jserv.properties (not cocoon) and > > then the NoClassDefFoundError comes up. > > If it is not in the classpath i get a different Error (DCP Error:..could > > not find class; it is part of the response page). > > With CodeWarrior i build a DCPTest.jar file from > > DCPTest.java > > A common reason for NoClassDefFoundError in DCP is > when your DCP class itself _is_ accessible through the > classpath but another class it uses internally is not. I see. > > You should check your code and verify what classes are > used by your DCP class (directly or indirectly) such that > they're accessible through the classpath when your first > compile the DCP class but are not accessible to Jserv > because they're not included in the proper wrapper.classpath. > entry. In my class i just use the same classes and methods as in the org.apache.cocoon.example.DCPExample The example works fine. Sorry i have no idea. Sascha