For the webapp, the BasicQueryFilter should be in the a directory under WEB-INF/classes/plugins with a directory for each plugin. So in this case $CATALINA_HOME/webapps/nutch/WEB-INF/classes/plugins/query-basic.

Dennis


Aled Rhys Jones wrote:
Hi

I'm trying to use the nutch api but I'm getting an error trying to
instantiate a bean who's constructor includes:

configuration = NutchConfiguration.create();

nutchBean = new NutchBean(configuration);

Could not instantiate bean class
[com.mycompany.myapp.NutchSearchEngineImpl]: Constructor threw exception;
nested exception is java.lang.RuntimeException:
org.apache.nutch.plugin.PluginRuntimeException:
java.lang.ClassNotFoundException:
org.apache.nutch.searcher.basic.BasicQueryFilter

I'm referencing the nutch-0.9.jar and that seems ok.

I've placed the plugins directory in src/main/webapp/WEB-INF/classes/

I'm using appfuse.

Any ideas why it might be reporting this class missing?  I thought it would
be part of the nutch jar?

Thanks

Aled

Reply via email to