On Fri, 18 May 2012, Karthik Deivasigamani wrote:
  I wanted to try out tika for our parsing needs. Tried downloading the
tika-app-1.0.jar & 1.1 jar file and also build it locally from the src
using mvn. Both seem to give me the same error message as below :

*[karthik@karthik-linux contentextraction]$ java -jar tika-app-1.0.jar
input.html *
Exception in thread "main" java.lang.RuntimeException: Unable to read
default mimetypes
  at org.apache.tika.mime.
MimeTypes.getDefaultMimeTypes(MimeTypes.java:574)
  at org.apache.tika.detect.DefaultDetector.<init>(DefaultDetector.java:63)
  at org.apache.tika.cli.TikaCLI.<init>(TikaCLI.java:275)
  at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:94)
Caused by: org.apache.tika.mime.MimeTypeException: Invalid media type name:
application/activemessage

Are you sure you haven't got any other Tika jars on your classpath? And have you done something bizzare with the XML parser that your JVM uses by default?

Nick

Reply via email to