Hi, Just pulling more useful info for the experts.
Are you building from trunk or from here: http://www.carfab.com/apachesoftware//nutch/apache-nutch-1.2-src.zip and you've done the following to get the errors you show? Do the binaries [1] at least work (see Nutch Wiki tutorials)? $ wget http://www.carfab.com/apachesoftware//nutch/apache-nutch-1.2-src.zip (if you don't use cygwin just download the file GUI) $ unzip apache-nutch-1.2-src.zip (just double click the zip) $ cd nutch-1.2 $ ant [1] http://www.carfab.com/apachesoftware//nutch/apache-nutch-1.1-bin.zip 2011/4/10 Jeff Zhou <[email protected]> > 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 错误 > -- Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email. subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this). If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X". ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).

