any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ansell (JIRA)" <>
Subject [jira] [Commented] (ANY23-151) Error while loading Tika configuration
Date Fri, 22 Feb 2013 05:16:12 GMT


Peter Ansell commented on ANY23-151:

The code is a little strange right now. In the ivy.xml file, there is a declaration to use
openrdf-sesame-1.2.7, and no inclusion of any23, while in the lib directory there is any23-0.7.0
and only three sesame jar files (you are missing the essential sesame-utils jar which you
would get if you were using maven or ivy as a dependency resolution tool). Any23 has not yet
updated to Sesame-2.7.0, see ANY23-141, and that is all that is in Maven Central right now,
so you will need to use that or use Sesame-2.6,10 from

You will need to remove the openrdf-sesame-1.2.7 artifact from your ivy.xml file also to avoid
conflicts. In addition, there really is no way of using Any23 without Tika, so you will also
need to include it, even if you don't want to. It is a linked dependency and there is no way
around it. Nutch seems to use Tika internally anyway, so you shouldn't be adding a new dependency.

Have you used Sesame before this project by the way?

Hope that helps, however I think you should continue this with the Nutch developers, as they
will know more about their Ant+Ivy build system, which should be able to fetch Maven artifacts,
but it doesn't seem like this is a bug with Any23.
> Error while  loading Tika configuration
> ---------------------------------------
>                 Key: ANY23-151
>                 URL:
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.7.0
>            Reporter: Dat Tran
>            Assignee: Peter Ansell
> I am developing a parse-plugin for nutch with any23. When I create new instance of Any23,
the runtime exception occurs
> Error while loading Tika configuration.
> java.lang.RuntimeException: Error while loading Tika configuration.
> 	at org.apache.any23.mime.TikaMIMETypeDetector.<init>(
> 	at org.apache.any23.Any23.<init>(
> 	at org.apache.any23.Any23.<init>(
> 	at org.apache.nutch.parse.any23.Any23Parser.getParse(
> 	at
> 	at
> 	at java.util.concurrent.FutureTask$Sync.innerRun(
> 	at
> 	at

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message