SPI class of type org.apache.lucene.codecs.Codec error

2013-08-16 Thread Amal Kammoun
Hi, We are working on a project which uses Lucene 4.2.1. Actually we are facing an error message "java.lang. ExceptionInInitializerError". We are using Maven for assembling the project and we have a dependency between two projects. When we do the test with eclipse it works fine. However, when we i

Re: SPI class of type org.apache.lucene.codecs.Codec error

2013-08-16 Thread Amal Kammoun
If you create uber-JARS (which is a bad idea in general), use > Maven-Shade plugin and configure it correctly. The Uber-JAR file must > contain a "META-INF/services" folder with some org.apache.lucene.index.* > files. > > - > Uwe Schindler > H.-H.-Meier-Al

Re: SPI class of type org.apache.lucene.codecs.Codec error

2013-08-18 Thread Amal Kammoun
link. > > > > Uwe > > > > - > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > <http://www.thetaphi.de/> http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > From: Amal Kammoun [mailto:kammoun.ama...@gmail.com] > Sen

Re: SPI class of type org.apache.lucene.codecs.Codec error

2013-08-19 Thread Amal Kammoun
org.apache.lucene.codecs.Codec, the both have the same content org.apache.lucene.codecs.lucene40.Lucene40Codec org.apache.lucene.codecs.lucene3x.Lucene3xCodec org.apache.lucene.codecs.lucene41.Lucene41Codec org.apache.lucene.codecs.lucene42.Lucene42Codec Thanks for your help. 2013/8/18 Amal Kammoun >