Re: Exception in thread "main" java.util.ServiceConfigurationError: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene53.Lucene53Codec

2016-04-27 Thread Thodoris Tsompanidis
t a weird exception when i try to run my application from the jar > file. > > In IDE (IntelliJ IDEA 2016.1.1) it runs properly. > > Any help? > > > > Exception in thread "main" java.util.ServiceConfigurationError: Cannot > > > i

Re: Exception in thread "main" java.util.ServiceConfigurationError: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene53.Lucene53Codec

2016-04-27 Thread Denis Mone
s properly. > Any help? > > Exception in thread "main" java.util.ServiceConfigurationError: Cannot > > instantiate SPI class: org.apache.lucene.codecs.lucene53.Lucene53Codec > > at > > org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:7

Exception in thread "main" java.util.ServiceConfigurationError: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene53.Lucene53Codec

2016-04-27 Thread Thodoris Tsompanidis
Hello all, I get a weird exception when i try to run my application from the jar file. In IDE (IntelliJ IDEA 2016.1.1) it runs properly. Any help? Exception in thread "main" java.util.ServiceConfigurationError: Cannot > instantiate SPI class: org.apache.lucene.codecs.lucene53.

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

2013-04-10 Thread Manivannan Selvadurai
codec is only in lucene-facet.jar, but this JAR file is not in > > > your classpath. So you seem to have some classpath problem. > > > > > > Uwe > > > > > > - > > > Uwe Schindler > > > H.-H.-Meier-Allee 63, D-28213 Bremen > > &

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

2013-04-09 Thread 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, 2013 1:15 PM &

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-09 Thread Uwe Schindler
ache.org > Subject: Re: Cannot instantiate SPI class: > org.apache.lucene.codecs.lucene42.Lucene42Codec > > i don't get what u mean by setup. im not using solr. Could u please be more > specific. > we dont use maven for building the jar. Its just few build.xmls. It is just >

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

2013-04-09 Thread Manivannan Selvadurai
From: Manivannan Selvadurai [mailto:manivan...@unmetric.com] > > Sent: Tuesday, April 09, 2013 12:33 PM > > To: java-user@lucene.apache.org > > Subject: Re: Cannot instantiate SPI class: > > org.apache.lucene.codecs.lucene42.Lucene42Codec > > > > I dint understand

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

2013-04-09 Thread Uwe Schindler
April 09, 2013 12:33 PM > To: java-user@lucene.apache.org > Subject: Re: Cannot instantiate SPI class: > org.apache.lucene.codecs.lucene42.Lucene42Codec > > I dint understand what u mean by directly inside ant or just for compiling, > but > this is the process we do Im using the

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 Uwe Schindler
vannan Selvadurai [mailto:manivan...@unmetric.com] > Sent: Tuesday, April 09, 2013 11:52 AM > To: java-user@lucene.apache.org > Subject: Cannot instantiate SPI class: > org.apache.lucene.codecs.lucene42.Lucene42Codec > > Hi All, > >I'm facing this probl

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 instan

Re: Cannot instantiate SPI class

2013-01-09 Thread Igal @ getRailo.org
hi everybody, I figured it out. the problem was that I was using a "custom" jar to deploy this along with other libs that I use in my application. so at the end of my build.xml I create a jar file with all the required libs. the problem was that I was adding lucene-core.jar with a filter of

RE: Cannot instantiate SPI class

2013-01-09 Thread Igal Sapir
Thanks, I'll do that. p.s. -- that was http://getrailo.org -- 'auto-correct' messed it up ;-) -- typos, misspels, and other weird words brought to you courtesy of my mobile device. On Jan 9, 2013 2:08 AM, "Nick Burch" wrote: > On Wed, 9 Jan 2013, Igal Sapir wrote: > >> The syntax is CFML / CFSc

RE: Cannot instantiate SPI class

2013-01-09 Thread Nick Burch
On Wed, 9 Jan 2013, Igal Sapir wrote: The syntax is CFML / CFScript (ColdFusion Script). Railo is an open source, high performance, ColdFusion server. http://getrailo.arg/ I will re-download the Lucene jars and try again. I'll let you know what I find. It may be worth double-checking that

RE: Cannot instantiate SPI class

2013-01-09 Thread Igal Sapir
gt; > disable some of the jars that ship with Railo but I believe that I > removed all of > > them. I also had to disable a jar of apache-commons-codec that ships > with > > Railo to avoid version conflicts. > > stacktrace below: > > > > Wh

RE: Cannot instantiate SPI class

2013-01-09 Thread Uwe Schindler
-commons-codec that ships with > Railo to avoid version conflicts. > stacktrace below: > Which still does not contain the root cause (this comes *after* the stack trace), printed like: Cannot instantiate SPI class: org.apache.lucene.codecs.appending.AppendingCodec at org.apache.lucene.ut

Re: Cannot instantiate SPI class

2013-01-09 Thread Igal @ getRailo.org
one possible problem is that Railo ships with a very old version of Lucene, so I had to disable some of the jars that ship with Railo but I believe that I removed all of them. I also had to disable a jar of apache-commons-codec that ships with Railo to avoid version conflicts. stacktrace below:

RE: Cannot instantiate SPI class

2013-01-08 Thread Uwe Schindler
@getrailo.org] > Sent: Wednesday, January 09, 2013 4:53 AM > To: java-user@lucene.apache.org > Subject: Cannot instantiate SPI class > > I'm trying to access Lucene4 from Railo (an open-source application server) > > when I try to create an IndexWriterConfig I

Re: Cannot instantiate SPI class

2013-01-08 Thread Steve Rowe
o.org wrote: >> >>> I'm trying to access Lucene4 from Railo (an open-source application server) >>> >>> when I try to create an IndexWriterConfig I get the error: Cannot >>> instantiate SPI class: org.apache.lucene.codecs.appending.A

Re: Cannot instantiate SPI class

2013-01-08 Thread Igal @ getRailo.org
7;t have lucene-codecs-4.0.0.jar in Railo's classpath. Steve On Jan 8, 2013, at 10:53 PM, Igal @ getRailo.org wrote: I'm trying to access Lucene4 from Railo (an open-source application server) when I try to create an IndexWriterConfig I

Re: Cannot instantiate SPI class

2013-01-08 Thread Igal @ getRailo.org
, Igal @ getRailo.org wrote: I'm trying to access Lucene4 from Railo (an open-source application server) when I try to create an IndexWriterConfig I get the error: Cannot instantiate SPI class: org.apache.lucene.codecs.appending.AppendingCodec any ideas? TIA stacktr

Re: Cannot instantiate SPI class

2013-01-08 Thread Steve Rowe
erConfig I get the error: Cannot > instantiate SPI class: org.apache.lucene.codecs.appending.AppendingCodec > > any ideas? > > TIA > > stacktrace below: > > Cannot instantiate SPI class: > org.apache.lucene.codecs.appending.AppendingCodec at > org.apache.lucene.u

Cannot instantiate SPI class

2013-01-08 Thread Igal @ getRailo.org
I'm trying to access Lucene4 from Railo (an open-source application server) when I try to create an IndexWriterConfig I get the error: Cannot instantiate SPI class: org.apache.lucene.codecs.appending.AppendingCodec any ideas? TIA stacktrace below: Cannot instantiate SPI