Hi, I downloaded the official release of Nutch 1.2, and was trying to build
it when errors occured. I am using Windows 7 with Chinese enabled.
The errors down below basically says that the class file
(C:\nutch\lib\hadoop-0.20.2-core.jar(org/apache/hadoop
/conf/Configuration.class) has version of 50, which however should be 49.
How can I resolve this?
Thanks!
------------------------------------------------------
Buildfile: C:\nutch\build.xml
init:
[unjar] Expanding: C:\nutch\lib\hadoop-0.20.2-core.jar into
C:\nutch\build\h
adoop
[unjar] Expanding: C:\nutch\lib\hadoop-0.20.2-tools.jar into
C:\nutch\build\
hadoop
[untar] Expanding: C:\nutch\build\hadoop\bin.tgz into C:\nutch\bin
[unjar] Expanding: C:\nutch\lib\hadoop-0.20.2-core.jar into
C:\nutch\build
[unjar] Expanding: C:\nutch\lib\hadoop-0.20.2-tools.jar into
C:\nutch\build
compile-core:
[javac] C:\nutch\build.xml:107: warning: 'includeantruntime' was not
set, de
faulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 241 source files to C:\nutch\build\classes
[javac]
C:\nutch\src\java\org\apache\nutch\analysis\AnalyzerFactory.java:29:
无法访问 org.apache.hadoop.conf.Configuration
[javac] 错误的类文件: C:\nutch\lib\hadoop-0.20.2-core.jar(org/apache/hadoop
/conf/Configuration.class)
[javac] 类文件具有错误的版本 50.0,应为 49.0
[javac] 请删除该文件或确保该文件位于正确的类路径子目录中。
[javac] import org.apache.hadoop.conf.Configuration;
[javac] ^
[javac] 1 错误