Hi Folks,

I'm running the trunk version of Nutch on a linux machine. I injected
a few URLS and tried to fetch them with Fetcher2, I get this error:

2008-04-09 20:04:28,878 ERROR http.Http - java.lang.NoSuchMethodError:
org.apache.tika.mime.MimeTypes: method <init>()V not found
2008-04-09 20:04:28,879 ERROR http.Http - at
org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:55)
2008-04-09 20:04:28,879 ERROR http.Http - at
org.apache.nutch.util.MimeUtil.<init>(MimeUtil.java:58)
2008-04-09 20:04:28,879 ERROR http.Http - at
org.apache.nutch.protocol.Content.<init>(Content.java:85)
2008-04-09 20:04:28,879 ERROR http.Http - at
org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.java:226)
2008-04-09 20:04:28,879 ERROR http.Http - at
org.apache.nutch.fetcher.Fetcher2$FetcherThread.run(Fetcher2.java:523)

Inject and Generate give me no problems at all.
Fetcher2 seems to work fine when I run on a Windows/Cygwin machine .
Has anyone had the above problem with a linux machine?

The code compiles just fine -- I can't seem to figure out why I'm
getting a NoSuchMethodError -- it looks like it can find all the right
jars.
Besides, there is a no-args constructor in org.apache.tika.mime.MimeTypes.java:

public MimeTypes() {
       root = new MimeType(this, DEFAULT);
       types.put(root.getName(), root);
   }


Any help is appreciated!

Thanks,
Sandeep

Reply via email to