lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Problem loading file from Directory on MacOS X...
Date Sat, 12 Jun 2010 00:43:41 GMT
I suspect that you have different jars on the mac than on your other
machines, possibly accessed through something you don't expect being in your
classpath. At least that's the first place I'd look....

HTH
Erick

On Thu, Jun 10, 2010 at 1:33 AM, Kit Plummer <dozer.kata@gmail.com> wrote:

> Hey folks.
> Ran into a problem on MacOS X...that doesn't exist in Linux (CentOS, or
> Ubuntu).
>
> No signature of method: static
> org.apache.lucene.store.FSDirectory.open() is applicable for argument
> types: (java.io.File) values: [/home/kplummer/Development/tmp]
>
> I'm actually running this through Groovy, but don't imagine this is
> the problem.  Wondering if anyone has any ideas?
>
> Here's the code:
>
> def fsDir = FSDirectory.open(new File(indexDir))
>
> TIA,
> Kit
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message