Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "Troubleshooting Tika" page has been changed by NickBurch: https://wiki.apache.org/tika/Troubleshooting%20Tika?action=diff&rev1=4&rev2=5 Things to check: * Does Tika know about your type? See '''Identifying what Mime Types your Tika install supports''' + * If the mime type isn't listed there, see '''Mime Type Missing''' + * Does Tika have all its detectors? See '''Identifying what Detectors your Tika install supports''' and '''Detectors Missing''' + * Is your file a different version of the format? Check the first few hundred bytes in a hex editor, and compare to the built-in mime type + + == Parsers Missing == + In order for a Parser to be loaded by Apache Tika, it needs: + * The parser class to be on the classpath ''at runtime'' + * And all of its dependencies + * For most parsers, that means the ''tika-parsers'' jar and dependencies + * One of: + * a Tika Config which explicitly lists the parser class + * a Tika Config (eg default one) which uses DefaultParser ''and'' a service file for the parser ''and'' no exclusion of that parser or parser's type + + To check what parsers you have, see '''Identifying what Parsers your Tika install supports''' + + To check if any parsers were defined but failed to load see '''Identifying if any Parsers failed to be loaded''' + + To create a service file for auto-loading, see [[http://tika.apache.org/1.9/parser_guide.html#List_the_new_parser|the quickstart guide]] + + == Detectors Missing == + In order for a Detector to be loaded by Apache Tika, it needs: + * The detector class to be on the classpath ''at runtime'' + * And all of its dependencies + * For most detectors, that means the ''tika-parsers'' jar and dependencies (the container detectors are generally stored along with the parsers) + * One of: + * a Tika Config which explicitly lists the detector class + * a Tika Config (eg default one) which uses DefaultDetector ''and'' a service file for the detector + + To check what detectors you have, see '''Identifying what Detectors your Tika install supports''' + + To check if any detectors were defined but failed to load see '''Identifying if any Detectors failed to be loaded''' + + == Mime Type Missing == * If Tika doesn't out of the box, you need to add a custom mimetypes file. See [[http://tika.apache.org/1.9/parser_guide.html#Add_your_MIME-Type|the quick guide]] for how * If you have written a custom mimetypes file, it needs to be present on your classpath at runtime with the ''exact'' name of `org/apache/tika/mime/custom-mimetypes.xml` . Double check you added it to your classpath, it has exactly that name (no typos, no prefix directories, no suffixes etc), and use '''Identifying what Mime Types your Tika install supports''' to see if you've loaded it or not - - == Parsers Missing == - - == Detectors Missing == - - == Mime Type Missing == - == Identifying your Tika Version == === Tika App === @@ -77, +103 @@ === Tika Java classes === ''todo'' - == Identifying is any Parsers failed to be loaded == + == Identifying if any Parsers failed to be loaded == - == Identifying is any Detectors failed to be loaded == + == Identifying if any Detectors failed to be loaded ==
