Cannot instantiate SPI class: org.apache.lucene.codecs.lucene42.Lucene42Codec

2013-04-09 Thread Manivannan Selvadurai
Hi All, I'm facing this problem. When i build a jar out of my project and try to run the program that invokes lucene part of the code, it gives me this exception Exception in thread "main" java.util.ServiceConfigurationError: Cannot instantiate SPI class: org.apache.lucene.codecs.

Re: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene42.Lucene42Codec

2013-04-09 Thread Manivannan Selvadurai
e > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Manivannan Selvadurai [mailto:manivan...@unmetric.com] > > Sent: Tuesday, April 09, 2013 11:52 AM > > To: java-user@lucene.apache.org > > Subject: Cannot instantiate SPI class:

Re: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene42.Lucene42Codec

2013-04-09 Thread Manivannan Selvadurai
07 PM, Uwe Schindler wrote: > As mentioned in the original answer, what is the setup you are using? > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > >

Re: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene42.Lucene42Codec

2013-04-09 Thread Manivannan Selvadurai
t; - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Manivannan Selvadurai [mailto:manivan...@unmetric.com] > > Sent: Tuesday, April 09, 20

Re: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene42.Lucene42Codec

2013-04-10 Thread Manivannan Selvadurai
we Schindler wrote: > > > > > There may be 2 problems, to fix: > > > a) use 4.2.1 (if you are using custom class loaders in your > > > application) > > > b) The stack trace says, that it can only find the codec "Facet42". > > > This