lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: problem with the lucene and tomcat server
Date Wed, 16 Feb 2011 09:47:40 GMT
Start Tomcat with class loading info and inspect the logs for multiple
Lucene JARs (even though the version seems to be fine)?

export CATALINA_OPTS=-XX:+TraceClassLoading
$TOMCAT_HOME/bin/catalina run

Dawid

On Wed, Feb 16, 2011 at 10:23 AM, starz10de <farag_ahmed@yahoo.com> wrote:
>
> Hi All,
>
> I have an application in java use lucene 3.0.3 which run fine. I wanted to
> use servlet to make this application as web application. However, I got this
> error:
>
> java.lang.NoSuchMethodError:
> org.apache.lucene.store.FSDirectory.open(Ljava/io/File;)Lorg/apache/lucene/store/FSDirectory;
>
>
> I searched for this error and all solution suggested that might two version
> of lucene are used but I also have other projects in my work space which
> used older version of lucene.
>
> In my project class path there is only one version of lucene which is 3.03.
> I even checked the lucene version in run time using :
> System.out.println(LucenePackage.get().getImplementationVersion());  and the
> result was:
>
> 3.0.3   1039909
>
> Any hints which might help?
>
> Thanks
>
> saad
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/problem-with-the-lucene-and-tomcat-server-tp2508060p2508060.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message