David Podunavac schrieb:
> When I try to instantiate NutchBean i get this Error message even
> thought i got the class in my lib direcotry
> i am not sure if i missed anything but help is appreciated
> has anyone occured the same weird error and found a solution i would be
> very pleased to get this solved
>  
> regards david
>
> ---------------------------------------------------------------------------------------------------------
>
> org.apache.hadoop.fs.Path path = new
> org.apache.hadoop.fs.Path(configuration.get("searcher.dir", "crawl"));
> NutchBean nutchBean = new NutchBean(configuration, path);
>            
> ----------------------------------------------------------------------------------------------------------
>
>
>  org.apache.nutch.searcher.QueryFilter not found.
> java.lang.RuntimeException: org.apache.nutch.searcher.QueryFilter not found.
>         at
> org.apache.nutch.searcher.QueryFilters.<init>(QueryFilters.java:59)
>         at
> org.apache.nutch.searcher.IndexSearcher.init(IndexSearcher.java:78)
>         at
> org.apache.nutch.searcher.IndexSearcher.<init>(IndexSearcher.java:70)
>         at org.apache.nutch.searcher.NutchBean.init(NutchBean.java:118)
>         at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:105)
>         at
> org.wyona.yanel.impl.resources.NutchResource.getInputStream(NutchResource.java:139)
>         at
> org.wyona.yanel.impl.resources.NutchResource.getView(NutchResource.java:74)
>         at
> org.wyona.yanel.cmdl.YanelCommandLine.main(YanelCommandLine.java:140)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>
> ------------------------------------------------------------------------------------------------------
> list of my nutch-0.8.jar
>
> org/apache/nutch/searcher/FieldQueryFilter.class
> org/apache/nutch/searcher/LuceneQueryOptimizer$1.class
> org/apache/nutch/searcher/LuceneQueryOptimizer$LimitExceeded.class
> org/apache/nutch/searcher/LuceneQueryOptimizer$LimitedCollector.class
> org/apache/nutch/searcher/LuceneQueryOptimizer$TimeExceeded.class
> org/apache/nutch/searcher/LuceneQueryOptimizer$TimerThread.class
> org/apache/nutch/searcher/LuceneQueryOptimizer.class
> org/apache/nutch/searcher/Query$Clause.class
> org/apache/nutch/searcher/Query$Phrase.class
> org/apache/nutch/searcher/Query$Term.class
> org/apache/nutch/searcher/Query.class
> org/apache/nutch/searcher/QueryException.class
> org/apache/nutch/searcher/QueryFilter$1.class
> org/apache/nutch/searcher/QueryFilter.class
> org/apache/nutch/searcher/QueryFilters.class
> org/apache/nutch/searcher/RawFieldQueryFilter.class
>
>
>
>
>
>
>
>
>   
problem is that i did not have the plugins configured!!
so make sure you have a plugin directory on your filesystem
with all the plugins listed at <name>plugin.includes</name>
and nutch-extensionpoints as well and make sure
nutch-default.xml or nutch-site.xml will point to that directory at
<name>plugin.folders</name>


cheers david

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to