Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 53689 invoked from network); 26 Nov 2008 15:26:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 15:26:05 -0000 Received: (qmail 43231 invoked by uid 500); 26 Nov 2008 15:26:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 43205 invoked by uid 500); 26 Nov 2008 15:26:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 43194 invoked by uid 99); 26 Nov 2008 15:26:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 07:26:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ptemmerman.ext@sadiel.es designates 62.81.202.67 as permitted sender) Received: from [62.81.202.67] (HELO mail.sadiel.es) (62.81.202.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 15:24:37 +0000 Received: from svrcorreoblue.sadiel.es ([172.30.1.166]) by mail.sadiel.es with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Nov 2008 16:25:38 +0100 Received: from 172.18.26.231 ([172.18.26.231]) by svrcorreoblue.sadiel.es ([172.30.1.166]) via Exchange Front-End Server webmail.sadiel.es ([172.19.1.20]) with Microsoft Exchange Server HTTP-DAV ; Wed, 26 Nov 2008 15:25:38 +0000 Received: from localhost.localdomain by webmail.sadiel.es; 26 Nov 2008 16:24:46 +0100 Subject: RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat From: Pieter Temmerman To: Tomcat Users List In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17215A3D35CCA@USEA-EXCH7.na.uis.unisys.com> References: <492D65AF.5060505@javactivity.org> <0AAE5AB84B013E45A7B61CB66943C17215A3D35CCA@USEA-EXCH7.na.uis.unisys.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 26 Nov 2008 16:24:46 +0100 Message-Id: <1227713086.7073.35.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.2) X-OriginalArrivalTime: 26 Nov 2008 15:25:38.0857 (UTC) FILETIME=[3C854990:01C94FDB] X-Virus-Checked: Checked by ClamAV on apache.org One such tool is jarFinder (http://www.isocra.com/articles/jarFinder.php) You need Ant to build the tool. Example: java -cp classes com.isocra.utils.jarSearch.DirectorySearcher DIRECTORY org.my.program.class Another explanation could be that the wrong class loader is looking for the class. Can you move your program .jar to /server/lib and see if it works? (This is not a solution though). On Wed, 2008-11-26 at 09:16 -0600, Caldarale, Charles R wrote: > > From: Steve Cohen [mailto:scohen@javactivity.org] > > Subject: HELP!!! java.lang.NoClassDefFoundError running > > CXF-based client inTomcat > > > > I am beginning to think the problem is not a missing class > > but a class conflicting with something in Tomcat. > > Highly likely. First just look at the names of the Tomcat-supplied jars and see if any match or are very similar to the ones you have in your webapp. (Can't tell you which directories to look at, since that varies with the version of Tomcat you're using, which you didn't bother to tell us.) > > If that doesn't turn up anything, try finding a tool to scan jars and report duplicate classes (sorry, I don't know of any specific ones, but there must be some out there). > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org