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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
