Add the 'conf' folder in the nutch source to your eclipse class path.
On 10/8/06, Ong Jin Yang <[EMAIL PROTECTED]> wrote:
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?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general