HI all,
I'm a beginner of Nutch and I just followed the instructions here
http://wiki.apache.org/nutch/Nutch2Tutorial, but I got the following errors:
aolixiang@lbt:~/IdeaProjects/dwc/nutch$ ant runtime
Buildfile: /home/aolixiang/IdeaProjects/dwc/nutch/build.xml
Trying to override old definition of task javac
[taskdef] Could not load definitions from resource
org/sonar/ant/antlib.xml. It could not be found.
ivy-probe-antlib:
ivy-download:
[taskdef] Could not load definitions from resource
org/sonar/ant/antlib.xml. It could not be found.
ivy-download-unchecked:
ivy-init-antlib:
ivy-init:
init:
[mkdir] Created dir: /home/aolixiang/IdeaProjects/dwc/nutch/build
[mkdir] Created dir:
/home/aolixiang/IdeaProjects/dwc/nutch/build/classes
[mkdir] Created dir:
/home/aolixiang/IdeaProjects/dwc/nutch/build/release
[mkdir] Created dir: /home/aolixiang/IdeaProjects/dwc/nutch/build/test
[mkdir] Created dir:
/home/aolixiang/IdeaProjects/dwc/nutch/build/test/classes
clean-lib:
resolve-default:
[ivy:resolve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file =
/home/aolixiang/IdeaProjects/dwc/nutch/ivy/ivysettings.xml
[taskdef] Could not load definitions from resource
org/sonar/ant/antlib.xml. It could not be found.
copy-libs:
compile-core:
[javac] Compiling 180 source files to
/home/aolixiang/IdeaProjects/dwc/nutch/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
[javac]
/home/aolixiang/IdeaProjects/dwc/nutch/src/java/org/apache/nutch/storage/WebPage.java:28:
error: cannot find symbol
[javac] import org.apache.avro.ipc.AvroRemoteException;
[javac] ^
[javac] symbol: class AvroRemoteException
[javac] location: package org.apache.avro.ipc
[javac]
/home/aolixiang/IdeaProjects/dwc/nutch/src/java/org/apache/nutch/storage/WebPage.java:35:
error: cannot find symbol
[javac] import org.apache.gora.persistency.StateManager;
[javac] ^
[javac] symbol: class StateManager
[javac] location: package org.apache.gora.persistency
...
(lots of errors like that)
[javac]
/home/aolixiang/IdeaProjects/dwc/nutch/src/java/org/apache/nutch/storage/Host.java:136:
error: cannot find symbol
[javac] getStateManager().setDirty(this, 2);
[javac] ^
[javac] symbol: method getStateManager()
[javac] location: class Host
[javac] 78 errors
[javac] 6 warnings
BUILD FAILED
/home/aolixiang/IdeaProjects/dwc/nutch/build.xml:101: Compile failed; see
the compiler error output for details.
Could anyone tell me what might went wrong?
Thanks
Lixiang