Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 37236 invoked from network); 11 Aug 2009 04:48:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Aug 2009 04:48:08 -0000 Received: (qmail 52117 invoked by uid 500); 11 Aug 2009 04:48:12 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 52021 invoked by uid 500); 11 Aug 2009 04:48:12 -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 52011 invoked by uid 99); 11 Aug 2009 04:48:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 04:48:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alexander.aristov@gmail.com designates 209.85.219.226 as permitted sender) Received: from [209.85.219.226] (HELO mail-ew0-f226.google.com) (209.85.219.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 04:48:03 +0000 Received: by ewy26 with SMTP id 26so3732000ewy.5 for ; Mon, 10 Aug 2009 21:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=tAgk0HNDledvsaM1qQeEbTgqD4dIT/CwXpr5VDLwr0Y=; b=no7JvVE645QgKsedBuzAQjlhXifKYaVFMUZaUyoHhGlmSv5SvwijbdLZILspu4edH3 CuhdP7BhJfyQSAsKKpMq4jv/Duc6+aorDw662nWbjWcL5EJGdo7ET1n3fEidhLp9LBSH 5VVywzutrSgV4PuJLH0QELR0z09cZbD63P4Cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=n/UMVhBtceFviePPrWBRp89Yk6MZ7MHqmKcW1pL89OywhHReO284l2olUGD7TXhB0G flWKacc43CR8i3tdHRgI3grtbc/7ImfScSw15FsbiQyfSxM5MpYhriIFuTadnxBKmJne GdiWeuOgzB41eGr40F5XGg9bqgoZL8fPi2FRw= MIME-Version: 1.0 Received: by 10.216.85.199 with SMTP id u49mr1170571wee.79.1249966063129; Mon, 10 Aug 2009 21:47:43 -0700 (PDT) In-Reply-To: <1c3e185f0908102044j3f30896bua95ba433460cfaa8@mail.gmail.com> References: <1c3e185f0908102044j3f30896bua95ba433460cfaa8@mail.gmail.com> From: Alexander Aristov Date: Tue, 11 Aug 2009 08:47:23 +0400 Message-ID: <11975c90908102147n2aa76f94s2cec04d882cf8fa@mail.gmail.com> Subject: Re: How to solve this problem To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016e6dab0b42c93bb0470d66781 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dab0b42c93bb0470d66781 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I suspect that you might use incompatible versions of lucene and kaffe. Though I have never worked with kaffe before and so might be wrong. Best Regards Alexander Aristov 2009/8/11 =E7=9F=B3=E5=B7=9D > Hi, > I am a newbie in lucene and am trying the 'indexing and searching' > demo of lucene 1.4.3 using kaffe 1.0.6. After inputing the query, an erro= r > occurs as follows: > > Query: stringSearching for: string > java.lang.NoSuchMethodError: > > org/apache/lucene/search/Searcher.search(Lorg/apache/lucene/search/Query;= Lorg/apache/lucene/search/Filter;I)Lorg/apache/ > at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64) > at org.apache.lucene.search.Hits.(Hits.java:43) > at org.apache.lucene.search.Searcher.search(Searcher.java:33) > at org.apache.lucene.search.Searcher.search(Searcher.java:27) > at org.apache.lucene.demo.SearchFiles.main(SearchFiles.java:49) > > However, when I use kaffe 1.1.0, it works well. I google for the > error information and it is said there is something wrong with my jar > package. Could anybody give some suggestion? Thanks. > > -- > Best regards, > > Shi Chuan > --0016e6dab0b42c93bb0470d66781--