[windup-dev] Lucene CCEx - ClassCastException: class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat

Ondrej Zizka ozizka at redhat.com
Thu Apr 28 11:22:41 EDT 2016


The thing is that I made indexer-data produce a jar besides the zip, and 
made it a dependency of rules-java-basic-api.
And it seems to somehow collide. I'll try make the indexer-data an addon.

I paused that effort, working on testing now;  but I'd like to discuss 
that later today if possible

Ondra



On 28.4.2016 16:16, Jess Sightler wrote:
> I don't think so. Perhaps you pulled in a different version while
> changing the POMs?
>
> On 04/28/2016 03:42 AM, Ondrej Zizka wrote:
>> Hi team,
>>
>> after rebase, I started getting this Lucene exception.
>>
>> Did we change the version of Lucene used?
>>
>>
>> Caused by: java.lang.ClassCastException: class
>> org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
>>            at java.lang.Class.asSubclass(Class.java:3404)
>>            at
>> org.apache.lucene.util.SPIClassIterator.next(SPIClassIterator.java:141)
>>            at
>> org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:65)
>>            at
>> org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:47)
>>            at
>> org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:37)
>>            at
>> org.apache.lucene.codecs.PostingsFormat.<clinit>(PostingsFormat.java:44)
>>            ... 47 more
>>
>> _______________________________________________
>> windup-dev mailing list
>> windup-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/windup-dev
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev



More information about the windup-dev mailing list