Hi, I got it resolved. It was because of a conflict. In build.xml file, at line no 22-24 it tries to load properties files for build. One of the location where it searches for the build property file is user_home. And here was the problem. In my home directory i had one build property file for some other build :) , and because of it all the classpath got mixed. I commented line 22 in build.xml and it worked.
Took me 8 hours to find this small problem :) gives a lesson! small issues always take more time to come into notice. On Tue, Aug 19, 2008 at 12:39 PM, Shailendra Mudgal < [EMAIL PROTECTED]> wrote: > Hi, > I downloaded nutch0.9 . And trying to compile it on local machine. > It is giving compilation error : > > compile: > [echo] Compiling plugin: clustering-carrot2 > [javac] Compiling 4 source files to > /nutch/build/clustering-carrot2/classes > [javac] > /nutch/src/plugin/clustering-carrot2/src/java/org/apache/nutch/clustering/carrot2/Clusterer.java:26: > cannot find symbol > [javac] symbol : class HitsCluster > [javac] location: package org.apache.nutch.clustering > [javac] import org.apache.nutch.clustering.HitsCluster; > [javac] ^ > [javac] > /nutch/src/plugin/clustering-carrot2/src/java/org/apache/nutch/clustering/carrot2/Clusterer.java:27: > cannot find symbol > [javac] symbol : class OnlineClusterer > [javac] location: package org.apache.nutch.clustering > [javac] import org.apache.nutch.clustering.OnlineClusterer; > [javac] ^ > [javac] > /nutch/src/plugin/clustering-carrot2/src/java/org/apache/nutch/clustering/carrot2/Clusterer.java:28: > package org.apache.nutch.searcher does not exist > [javac] import org.apache.nutch.searcher.HitDetails; > ...... > > I am using java java version "1.6.0_03" and ant-1.6.5. The Operating System > i am using is Ubuntu (2.6.22 kernel). I have JAVA_HOME, NUTCH_HOME, > NUTCH_JAVA_HOME in my classpath. > > Thanks in advance .. > > > >
