Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 9397 invoked from network); 5 Feb 2008 08:48:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 08:48:52 -0000 Received: (qmail 51430 invoked by uid 500); 5 Feb 2008 08:48:40 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 51391 invoked by uid 500); 5 Feb 2008 08:48:40 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 51380 invoked by uid 99); 5 Feb 2008 08:48:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 00:48:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.46.255.22] (HELO viefep15-int.chello.at) (213.46.255.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 08:48:11 +0000 Received: from viefep15 ([127.0.0.1]) by viefep15-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080205084817.JYZ8279.viefep15-int.chello.at@viefep15>; Tue, 5 Feb 2008 09:48:17 +0100 Message-ID: <32840767.1202201297170.JavaMail.root@viefep15> Date: Tue, 5 Feb 2008 9:48:17 +0100 From: Simon Kitching To: MyFaces Discussion Subject: Re: [Tomahawk] Bug - Could not find class for name: tree2.HtmlTreeRenderer Cc: =?utf-8?Q?=C5=81ukasz_Budnik?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 62.116.38.218 by web-edge.chello.com; Tue, 5 Feb 2008 9:48:16 +0100 X-Virus-Checked: Checked by ClamAV on apache.org ---- "=C5=81ukasz Budnik" schrieb: > Hi All, > I'm using Tomahawk 1.1.7-SNAPSHOT, I am trying to use > the component > but I get this strange error: ClassNotFoundException:=20 > tree2.HtmlTreeRenderer > Looking at the API: http://myfaces.apache.org/tomahawk/tree2.html > -there is a class:=20 > org.apache.myfaces.custom.tree2.HtmlTreeRenderer... > and yes, it is inside the tomahawk-1.1.7-SNAPSHOT.jar archive. > Full stack trace: > > SEVERE: Could not find class for name: tree2.HtmlTreeRenderer > java.lang.ClassNotFoundException: tree2.HtmlTreeRenderer > at=20 > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.= java:1358) My guess would be that you have two copies of Tomahawk in your classpath. C= heck the "shared libs" directory of your container etc. Tree2 definitely works.. Regards, Simon