Hello. I've been banging my head for the last day or two trying to get
Lucene to work with the bridge.
It works successfully from command line. However, in the bridge I
continuously get the ClassNotFoundException.
I've done most everything listed in the INSTALL -- created and moved jars
into /usr/share/java, the php-ext directory, even the current directory of
the .php script -- and still get ClassNotFoundException.
I've also set the java.classpath in php.ini to include the lucene-core.jar
files without luck.
--- error ----
Fatal error: Uncaught [o(Exception):"java.lang.Exception: CreateInstance
failed: new searcher. Cause: java.lang.ClassNotFoundException: Unresolved
external reference: java.lang.NoClassDefFoundError: while resolving class:
searcher. -Unable to call constructor because it or one of its parameters
refer to the mentioned external class which is not available in the current
"java_require()" path.
--- end error ----
new JavaClass('searcher') doesn't error, but new Java('searcher') responds
with the error above.
Is there anything I've overlooked or perhaps something in the log file that
could help me address this? I'm using gcj, Suse 9.1, php-java-bridge 3.x
Thanks, Brian
|