Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 24195 invoked from network); 16 Feb 2011 09:23:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2011 09:23:56 -0000 Received: (qmail 78986 invoked by uid 500); 16 Feb 2011 09:23:54 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 78604 invoked by uid 500); 16 Feb 2011 09:23:50 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 78587 invoked by uid 99); 16 Feb 2011 09:23:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 09:23:48 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 09:23:43 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PpdbW-0004XX-SJ for java-user@lucene.apache.org; Wed, 16 Feb 2011 01:23:22 -0800 Date: Wed, 16 Feb 2011 01:23:22 -0800 (PST) From: starz10de To: java-user@lucene.apache.org Message-ID: <1297848202860-2508060.post@n3.nabble.com> Subject: problem with the lucene and tomcat server MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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