Re: Exception on creation IndexWriterConfig with Version.LUCENE_40

2012-10-26 Thread Ivan Vasilev
Thanks Robert On 26.10.2012 г. 18:49, Robert Muir wrote: On Fri, Oct 26, 2012 at 11:47 AM, Ivan Vasilev wrote: if you want to not use jars, then its not enough to add the /src/java directories. you also need /src/resources directories in the classpath -

Re: Exception on creation IndexWriterConfig with Version.LUCENE_40

2012-10-26 Thread Robert Muir
On Fri, Oct 26, 2012 at 11:47 AM, Ivan Vasilev wrote: if you want to not use jars, then its not enough to add the /src/java directories. you also need /src/resources directories in the classpath - To unsubscribe, e-mail: java-us

Exception on creation IndexWriterConfig with Version.LUCENE_40

2012-10-26 Thread Ivan Vasilev
Hi Guys, When executing: ndexWriterConfig iwc = new IndexWriterConfig(Version.LUCENE_40, new MyAnalyzer()); I have the following exception: Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.lucene.index.LiveIndexWriterConfig.(LiveIndexWriterConfig.java:118)