You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Samuel Tang <sa...@yahoo.com.hk> on 2004/04/22 10:22:52 UTC

[Digester] DigesterMarriesLucene

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?
 


必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/

Re: [Digester] DigesterMarriesLucene

Posted by Samuel Tang <sa...@yahoo.com.hk>.
Thanks Otis. It works. Great.

Otis Gospodnetic <ot...@yahoo.com> 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?
> 
> 
> 
> 必殺技、飲歌、小星星...
> 浪漫鈴聲 情心連繫
> 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


必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/

Re: [Digester] DigesterMarriesLucene

Posted by Otis Gospodnetic <ot...@yahoo.com>.
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 <sa...@yahoo.com.hk> 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