Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 5216 invoked from network); 17 Jan 2000 17:39:41 -0000 Received: from goofy.vt.fh-koeln.de (root@139.6.116.2) by 63.211.145.10 with SMTP; 17 Jan 2000 17:39:41 -0000 Received: from fh-koeln.de (hera.zam.FH-Koeln.DE) by goofy.vt.fh-koeln.de with SMTP id AA23912 (5.65c/IDA-1.4.4 for ); Mon, 17 Jan 2000 18:39:21 +0100 Message-Id: <388354FB.4762145@fh-koeln.de> Date: Mon, 17 Jan 2000 18:44:27 +0100 From: Sascha =?iso-8859-1?Q?M=9Fller?= X-Mailer: Mozilla 4.6 [de] (WinNT; I) X-Accept-Language: de, en Mime-Version: 1.0 To: general@xml.apache.org Subject: Re: Simple help on Cocoon DCP-classes References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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