Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 21427 invoked from network); 24 Apr 2003 12:58:28 -0000 Received: from unknown (HELO gb-lov-dnsimr01.cmgplc.com) (213.121.200.65) by daedalus.apache.org with SMTP; 24 Apr 2003 12:58:28 -0000 Received: from uk-sta-as04.cmgplc.com (mailsweep [10.32.59.99]) by gb-lov-dnsimr01.cmgplc.com (8.12.3/8.12.3) with ESMTP id h3OCiFKj003947 for ; Thu, 24 Apr 2003 13:44:16 +0100 (BST) Received: from uki-sts-mb01.uki.group.cmg.com (unverified) by uk-sta-as04.cmgplc.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Thu, 24 Apr 2003 13:55:48 +0100 Received: from uk-sta-route01.cmgplc.com ([10.34.63.106]) by uki-sts-mb01.uki.group.cmg.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 24 Apr 2003 13:58:24 +0100 Received: by uk-sta-route01.uk.cmgplc.com with Internet Mail Service (5.5.2653.19) id ; Thu, 24 Apr 2003 13:58:24 +0100 Message-ID: <1602ED82C48ED611B9E300306E00636F1860CC@UK-CAM-MAIL01> From: Friso De Jonge To: "'Cactus Users List'" Subject: RE: java.lang.NoClassDefFoundError: org/apache/cactus/ServletTest Case problem again. Date: Thu, 24 Apr 2003 13:58:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 24 Apr 2003 12:58:24.0248 (UTC) FILETIME=[30BFAF80:01C30A61] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vincent, why is it that you should only have cactus.jar in your lib directory, = and not in your classpath ? friso -----Original Message----- From: Vincent Massol [mailto:vmassol@pivolis.com] Sent: 24 April 2003 08:58 To: 'Cactus Users List' Subject: RE: java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase problem again. What can happen is that you have a cactus jar in your system classpath. Make sure you only have cactus in your WEB-INF/lib directory. Thanks -Vincent -----Original Message----- From: karthik Guru [mailto:karthik_guru2000@yahoo.com]=20 Sent: 24 April 2003 09:44 To: Cactus Users List Subject: Re: java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase problem again. oops sorry forgot to mention that: yes i have it in the lib folder. We are=A0using weblogic6.1 sp3. The application gets deployed just fine. Am able to use the = application. We have a taglibrary jar that is getting used by the JSPs=A0for=20 rendering. That jar is present in the WEB-INF/lib folder. That is getting picked = up as well. thanks karthik Christopher Lenz wrote: Hi Karthik, isn't junit.har missing in WEB-INF/lib? karthik Guru wrote: > I understand it is a very common problem reported here. I got cactus to=20 > work with our product and now while setting it up for the other, i = ran > into this issue. >=20 > this is how my war file is structured: >=20 > WEB-INF/lib: > cactus.jar > aspectjrt.jar > commons-logging1.0.jar > httpclient.jar > testinfra.jar > tests.jar >=20 > tests.jar has all the tests. > testinfra.jar has the BaseTestCase (from which all the tests = inherit.) +=20 > some utilities > There is no Class-Path attribute defined in testinfra.jar and tests.jar=20 > manifests. I assume that everything will get picked up from the=20 > WEB-INF/lib folder. >=20 > I get the NoClassDefFoundError when i run my tests. > Any idea as to why the cactus.jar is not getting picked up from web-inf\lib. >=20 > java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase > at java.lang.ClassLoader.defineClass0(Native Method) >=20 > at java.lang.ClassLoader.defineClass(ClassLoader.java:488) >=20 > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) >=20 > at=20 > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCla= ssLoader.java:394) >=20 > at=20 > weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoa= der.java:157) >=20 > at java.lang.ClassLoader.loadClass(ClassLoader.java:294) >=20 > at java.lang.ClassLoader.loadClass(ClassLoader.java:287) >=20 > at java.lang.ClassLoader.loadClass(ClassLoader.java:250) >=20 > at=20 > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAware= ClassLoader.java:47) >=20 > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) >=20 > at java.lang.ClassLoader.defineClass0(Native Method) >=20 > at java.lang.ClassLoader.defineClass(ClassLoader.java:488) >=20 > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) >=20 > at=20 > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCla= ssLoader.java:394) >=20 > at weblogic.utils.classloaders.GenericClassLoader.findCla --=20 Christopher Lenz /=3D/ cmlenz at gmx.de --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org