lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: SearchFiles demo fails with exception while IndexFiles works
Date Wed, 28 Oct 2009 09:35:24 GMT
Are you using an IDE (Eclipse)?  This may help?:

  http://forums.java.net/jive/thread.jspa?messageID=363989

Or maybe try building from the command line instead ("ant compile-demo")?

Mike

On Tue, Oct 27, 2009 at 8:34 PM, s rajan <s.rajan09@gmail.com> wrote:
> hi, I am playing with lucene 2.9.0 source build, ant 1.7.1, jdk1.6.0, win XP
> home edition.
> I dont have clover or jFlex installed.
> I built the srcs and ran IndexFiles demo and that worked. However when I run
> SearchFiles
> I have an exception that says:
> Exception in thread "main" java.lang.Error: Unresolved compilation problems:
>        The field directory is defined in an inherited type and an enclosing
> sco
> pe
>        The field directory is defined in an inherited type and an enclosing
> sco
> pe
>        The field directory is defined in an inherited type and an enclosing
> sco
> pe
>        at
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:71)
> ----------------------------------------
> I run the build again and its the same thing.
> Is there anything else I need to do?
>
> tks,
> -rajan
>

---------------------------------------------------------------------
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