How to solve this problem

石川 <[email protected]> Tue, 11 Aug 2009 11:46:10 +0800
Newsgroups gmane.comp.java.vm.kaffe.general
Message-ID <[email protected]>
--===============0671784069==
Content-Type: multipart/alternative; boundary=001636e9123e151d050470d58b10

--001636e9123e151d050470d58b10
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,
      I am a newbie in Kaffe and am trying the 'indexing and searching' demo
of lucene 1.4.3 using kaffe 1.0.6. After inputing the query, an error 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.<init>(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

--001636e9123e151d050470d58b10
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<span class=3D"Apple-style-span" style=3D"border-collapse: collapse; ">Hi,<=
div><br></div><div>=A0=A0 =A0 =A0I am a newbie in Kaffe and am trying the &=
#39;indexing and searching&#39; demo of lucene 1.4.3 using kaffe 1.0.6. Aft=
er inputing the query, an error occurs as follows:</div>
<div>=A0=A0 =A0=A0</div><div>=A0=A0 =A0 =A0=A0Query: string<div>Searching f=
or: string</div><div>java.lang.NoSuchMethodError: org/apache/lucene/search/=
Searcher.search(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/F=
ilter;I)Lorg/apache/</div>
<div>=A0=A0 =A0 =A0 =A0at org.apache.lucene.search.Hits.getMoreDocs(Hits.ja=
va:64)</div><div>=A0=A0 =A0 =A0 =A0at org.apache.lucene.search.Hits.&lt;ini=
t&gt;(Hits.java:43)</div><div>=A0=A0 =A0 =A0 =A0at org.apache.lucene.search=
.Searcher.search(Searcher.java:33)</div>
<div>=A0=A0 =A0 =A0 =A0at org.apache.lucene.search.Searcher.search(Searcher=
.java:27)</div><div>=A0=A0 =A0 =A0 =A0at org.apache.lucene.demo.SearchFiles=
.main(SearchFiles.java:49)</div><div><br></div><div>=A0=A0 =A0 =A0 =A0Howev=
er, when I use kaffe 1.1.0, it works well. I google for the error informati=
on and it is said there is something wrong with my jar package. Could anybo=
dy give some suggestion? Thanks.</div>
</div></span><br>-- <br>Best regards,<br><br>Shi Chuan<br>

--001636e9123e151d050470d58b10--


--===============0671784069==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

--===============0671784069==--