I try to use nutch 1.4 crawler in ubuntu however when I try to execute nutcg with all the setting that are suggested in nutch wiki it gives this error:
erogol@erogol-G50V:~/Desktop/search engine/apache-nutch-1.4-bin/runtime/local$
bin/nutch crawl urls -dir crawl -depth 1
bin/nutch: line 108: [: /home/erogol/Desktop/search: binary operator expected
Exception in thread "main" java.lang.NoClassDefFoundError: engine/apache-nutch-1/4-bin
/runtime/local/logs
Caused by: java.lang.ClassNotFoundException: engine.apache-nutch-
1.4-bin.runtime.local.logs
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: engine/apache-nutch-1.4-bin/runtime/local/logs.
Program will exit.
Do you have any suggestion or idea to solve the using problem for nutch?
Thanks in advance... all nutch knowers :)
以上就是using nutch 1.4 in ubuntu的详细内容,更多请关注web前端其它相关文章!