Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 20283 invoked from network); 22 Apr 2004 09:39:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Apr 2004 09:39:10 -0000 Received: (qmail 35256 invoked by uid 500); 22 Apr 2004 09:38:39 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 35067 invoked by uid 500); 22 Apr 2004 09:38:37 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 35054 invoked from network); 22 Apr 2004 09:38:37 -0000 Received: from unknown (HELO web12706.mail.yahoo.com) (216.136.173.243) by daedalus.apache.org with SMTP; 22 Apr 2004 09:38:37 -0000 Message-ID: <20040422093851.86327.qmail@web12706.mail.yahoo.com> Received: from [194.152.216.133] by web12706.mail.yahoo.com via HTTP; Thu, 22 Apr 2004 02:38:51 PDT Date: Thu, 22 Apr 2004 02:38:51 -0700 (PDT) From: Otis Gospodnetic Subject: Re: [Digester] DigesterMarriesLucene To: Lucene Users List In-Reply-To: <20040422082252.27807.qmail@web90107.mail.scd.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, There is no need to include DigesterMarriesLucene.class in that Lucene-demos Jar. You just need to make sure you add the directory where DigesterMarriesLucene.class is, to your CLASSPATH. Listing 4 in that article shows that DigesterMarriesLucene is not in any particular Java package. Therefore, do not invoke it as java org.apache....DigesterMarriesLucene, but rather: java DigesterMarriesLucene . Otis --- Samuel Tang wrote: > I have read the article on the IBM website regarding using lucene > (http://www-106.ibm.com/developerworks/library/j-lucene) and followed > > the provided 'Listing 4' to make the DigesterMarriesLucene.class. I > downloaded the Digester package as well in order to parse the > imaginary > address book xml to see if it works. > > Unfortunately, I got the below error message: > > java.lang.NoClassDefFoundError: DigesterMarriesLucene > > My setup is to include the compiled DigesterMarriesLucene.class to > the > lucene-demos-1.3-final.jar file so as to run the class in Lucene by > typing in > > # java org.apache.lucene.demo.DigesterMarriesLucene > > What I should do to get rid of the errors? Are there any > documentations > available online to show me how to do the setup? > > > > �����ޡB���q�B�p�P�P... > �����a�n ���߳sô > http://ringtone.yahoo.com.hk/ > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org