Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 91032 invoked from network); 23 Apr 2004 07:45:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Apr 2004 07:45:28 -0000 Received: (qmail 67703 invoked by uid 500); 23 Apr 2004 07:44:58 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 67682 invoked by uid 500); 23 Apr 2004 07:44:56 -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 67667 invoked from network); 23 Apr 2004 07:44:56 -0000 Received: from unknown (HELO web90105.mail.scd.yahoo.com) (66.218.94.76) by daedalus.apache.org with SMTP; 23 Apr 2004 07:44:56 -0000 Message-ID: <20040423074508.34246.qmail@web90105.mail.scd.yahoo.com> Received: from [202.40.200.41] by web90105.mail.scd.yahoo.com via HTTP; Fri, 23 Apr 2004 15:45:08 CST Date: Fri, 23 Apr 2004 15:45:08 +0800 (CST) From: =?big5?q?Samuel=20Tang?= Subject: Re: [Digester] DigesterMarriesLucene To: Lucene Users List In-Reply-To: <20040422093851.86327.qmail@web12706.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-12815929-1082706308=:33459" Content-Transfer-Encoding: 8bit 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 --0-12815929-1082706308=:33459 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit Thanks Otis. It works. Great. Otis Gospodnetic wrote: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 �����ޡB���q�B�p�P�P... �����a�n ���߳sô http://ringtone.yahoo.com.hk/ --0-12815929-1082706308=:33459--