From: Victor L. <vic...@ya...> - 2005-11-22 17:26:33
|
After having great trouble using java_require, I decided to look at the log very detailly, and I found the following: Nov 22 08:32:23 JavaBridge INFO : trying to load class: org.apache.nutch.searcher.NutchBean from: [file:/var/www/html/nutch/lib/lucene-1.9-rc1-dev.jar, file:/var/www.html/nutch/nutch-0.7.1.jar] You will notice that the second path say "/var/www.html/...." not "/var/www/html/...". I highly suspect that this is not only a bug in the log system, it's a bug in the actual loading class mechanism because when I test it by loading nutch-0.7.1.jar first, it seems that it can find the classes that are in nutch-0.7.1.jar but not the rest of classes that are in other jar file. I know that I should put the jar file in /usr/share/java, but it's not the point, and I need to temporary put the jar file in webserver directory for now because I am running webserver on it to test something else. Please fix it. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |