You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Jin Yang <ji...@metaterri.com> on 2006/10/08 00:23:13 UTC

First Time Run Nutch0.8.1 in Eclipse 3.2.1 Problem!

I have created, set the build path "tmp_build" and added the lib
(missing org.farng and com.etranslate) into the project. I follow the
RunNutchInEclipse guide and continue to run the project.

The "Console" show the following error:

006-10-08 04:12:07,674 INFO  conf.Configuration
(Configuration.java:loadResource (398)) - parsing
jar:file:/home/jinyang/nutch-0.8.1/lib/hadoop-0.4.0-patched.jar!/hadoop-default.xml
2006-10-08 04:12:07,922 INFO  conf.Configuration
(Configuration.java:loadResource (398)) - parsing
jar:file:/home/jinyang/nutch-0.8.1/nutch-0.8.1.jar!/nutch-default.xml
2006-10-08 04:12:08,021 FATAL conf.Configuration
(Configuration.java:loadResource (450)) - error parsing conf file:
java.lang.RuntimeException: crawl-tool.xml not found
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: crawl-tool.xml not found
   at org.apache.hadoop.conf.Configuration.loadResource
(Configuration.java:450)
   at org.apache.hadoop.conf.Configuration.loadResources
(Configuration.java:384)
   at org.apache.hadoop.conf.Configuration.getProps
(Configuration.java:373)
   at org.apache.hadoop.conf.Configuration.set (Configuration.java:136)
   at org.apache.hadoop.mapred.JobConf.setJar (JobConf.java:121)
   at org.apache.hadoop.mapred.JobConf.initialize (JobConf.java:61)
   at org.apache.hadoop.mapred.JobConf.<init> (JobConf.java:99)
   at org.apache.nutch.util.NutchJob.<init> (NutchJob.java:27)
   at org.apache.nutch.crawl.Crawl.main (Crawl.java:56)
Caused by: java.lang.RuntimeException: crawl-tool.xml not found
   at org.apache.hadoop.conf.Configuration.loadResource
(Configuration.java:417)
   ...8 more

What is the problem and how to solve this?