I installed Nutch the past days, and I kept getting blank results
pages at
http://localhost:8080/search.jsp... Tomcat was properly installed, I
think,
so I looked further and I found that everytime I run a crawl, I get
this toward the end:
060621 125637 indexing segment: crawl.test/segments/20060620163405
Exception in thread "main" java.lang.IllegalAccessError: tried to
access field org.apache.lucene.index.IndexWriter.mergeFactor from
class org.apache.nutch.indexer.IndexSegment
at
org.apache.nutch.indexer.IndexSegment.indexPages(IndexSegment.java:102)
at
org.apache.nutch.indexer.IndexSegment.main(IndexSegment.java:263)
In case the above happens to anyone else, don't be an idiot like I was and
have newer versions of lucene-core lying around; I had installed
lucene-core-2.0.0.jar
before installing nutch, which comes with lucene-core-1.9.1.jar, and
2.0.0 was being
used rather than 1.9.1 - some class definitions in the newer version are
different
I guess.
Cheers,
Mike