lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uzair Kamal <>
Subject Re: [---SPAM---] RE: Lucene Index Upgradation
Date Tue, 11 Jun 2013 07:31:03 GMT
Your previous email was quiet helpful and i followed the same way and it works.. but at the
end now i am getting another strange exception i.e 

java.lang.NoClassDefFoundError: org/apache/lucene/util/PriorityQueue

Can you please help.


----- Original Message -----
From: "Uwe Schindler" <>
Sent: Tuesday, June 11, 2013 11:28:01 AM
Subject: [---SPAM---] RE: Lucene Index Upgradation


This is not a Lucene problem or a problem with the index. It looks like one of those:
a) You have some outdated Lucene JAR files somewhere in your classpath (e.g. JAR file from
Lucene 2.4 mixed with those of Lucene 3.4) in the classpath. You should clean up your compilation
and runtime classpath and only list *one* version of Lucene JARs and really no duplicate JARs
from different versions
b) The error does only happen in your own class, not in Lucene's code. The Java verifier cannot
check the method types because the types mismatch. This can happen, if the classloader that
loads Lucene is a different one that the one loading your classes. I have no idea what application
server you are using, but nmake sure that Lucene and your application classes are next to
each other in the WEB-INF/lib folder (if this is a web application).


Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> -----Original Message-----
> From: Uzair Kamal []
> Sent: Tuesday, June 11, 2013 8:03 AM
> To:
> Subject: Lucene Index Upgradation
> Hi
>   I had an index of precious files with Lucene 2.4, i wanted to switch to lucene
> 4.3 as Lucene 2.4 index is giving an exception of illegal arguments on function
> moreLikeThis. I upgrade that index to 3.5 but still getting the same exception.
> Can any please help. Following is the stack trace of the exception
> SEVERE: The exception contained within MappableContainerException could
> not be mapped to a response, re-throwing to the HTTP container
> java.lang.VerifyError: (class:
> com/intuira/discovery/wikitology/WikitologyPrediction, method:
> init_MoreLikeThis signature:
> ()Lorg/apache/lucene/search/similar/MoreLikeThis;)
> Thanks
> Uzair Kamal
> IntuiRA-iApps
> Team Lead (Java)
> voip: 5754
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message