lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: java.lang.NoClassDefFoundError:org/apache/lucene/search/similar/MoreLikeThis
Date Tue, 07 Dec 2010 22:31:52 GMT
It sounds like the jar containing the MoreLikeThis class in a place that
your servlet
can find it. It's in contrib, something like lucene-queries<version>.jar

Best
Erick

On Tue, Dec 7, 2010 at 4:24 PM, starz10de <farag_ahmed@yahoo.com> wrote:

>
>
>
> Hi All,
>
> I am using MoreLikeThis class in lucene to find more similar documents in
> the index to the giving one. It works fine when I run it directly from
> Eclipse but when I call it from my servlet I have this error:
>
>
> “java.lang.NoClassDefFoundError:org/apache/lucene/search/similar/MoreLikeThis“
>
> Any idea why this error occurred?
>
> Thanks
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/java-lang-NoClassDefFoundError-org-apache-lucene-search-similar-MoreLikeThis-tp2036296p2036296.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message