|
From: <php...@li...> - 2007-11-08 13:03:06
|
Hi,
> indexwriter with a document. Everything works untill it reaches the update
> document. it gives me :
>
> Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed:
> [[o:IndexWriter]]->updateDocument([o:Term], [o:Document]). Cause:
> java.lang.NoSuchMethodException: updateDocument([o:Term], [o:Document]).
> Candidates: []
You can use
echo java_inspect ($indexWriter);
to see the list of public methods exported by your version of the index writer.
> It says NoSuchMethodException but i'm pretty sure it is there (checked the
> src files).
Source files are irrelevant. It depends on which version of the library.
If you use the dynamic class loader, the loader automatically uses the latest version of your
software (assuming that you name your java libraries appropriately, see the README for details).
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail
|