You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Timo Boehme <ti...@ontochem.com> on 2010/04/13 15:51:06 UTC
Missing poi-ooxml-schemas-3.6.jar in tika-bundle
After building tika 0.7 using maven I found that library
poi-ooxml-schemas-3.6.jar was not included in tika-bundle leading to
IOException with root cause ClassNotFoundException while processing
OOXML files.
Regards
Timo
--
Timo Boehme
OntoChem GmbH
H.-Damerow-Str. 4
06120 Halle/Saale
T: +49 345 4780472
F: +49 345 4780471
timo.boehme@ontochem.com
_____________________________________________________________________
OntoChem GmbH
Geschäftsführer: Dr. Lutz Weber
Sitz: Halle / Saale
Registergericht: Stendal
Registernummer: HRB 215461
_____________________________________________________________________
Re: Missing poi-ooxml-schemas-3.6.jar in tika-bundle
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Thu, Apr 15, 2010 at 12:12 PM, Antoni Mylka <an...@gmail.com> wrote:
> We (Aperture) have gone through many problems of this kind. Spring OSGI unit
> testing framework [1] was a solution for us. It can check if the generated
> bundle starts at all, and when it starts you can invoke some functionality
> via osgi to hunt for ClassNotFoundErrors or weird ClassCastExceptions. You
> might consider it.
Sounds very useful, thanks!
BR,
Jukka Zitting
Re: Missing poi-ooxml-schemas-3.6.jar in tika-bundle
Posted by Antoni Mylka <an...@gmail.com>.
W dniu 2010-04-14 15:42, Jukka Zitting pisze:
> Hi,
>
> On Tue, Apr 13, 2010 at 3:51 PM, Timo Boehme<ti...@ontochem.com> wrote:
>> After building tika 0.7 using maven I found that library
>> poi-ooxml-schemas-3.6.jar was not included in tika-bundle leading to
>> IOException with root cause ClassNotFoundException while processing
>> OOXML files.
>
> Unfortunately the list of dependencies to embed in the bundle got
> outdated for the 0.7 release. I've fixed that now in Tika trunk, see
> TIKA-409 [1]. You should be able to patch the 0.7 sources by replacing
> "ooxml-schemas" with "poi-ooxml-schemas" in tika-bundle/pom.xml.
>
> [1] https://issues.apache.org/jira/browse/TIKA-409
We (Aperture) have gone through many problems of this kind. Spring OSGI
unit testing framework [1] was a solution for us. It can check if the
generated bundle starts at all, and when it starts you can invoke some
functionality via osgi to hunt for ClassNotFoundErrors or weird
ClassCastExceptions. You might consider it.
Antoni Myłka
antoni.mylka@gmail.com
[1]
http://static.springsource.org/osgi/docs/1.2.1/reference/html/testing.html
Re: Missing poi-ooxml-schemas-3.6.jar in tika-bundle
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Tue, Apr 13, 2010 at 3:51 PM, Timo Boehme <ti...@ontochem.com> wrote:
> After building tika 0.7 using maven I found that library
> poi-ooxml-schemas-3.6.jar was not included in tika-bundle leading to
> IOException with root cause ClassNotFoundException while processing
> OOXML files.
Unfortunately the list of dependencies to embed in the bundle got
outdated for the 0.7 release. I've fixed that now in Tika trunk, see
TIKA-409 [1]. You should be able to patch the 0.7 sources by replacing
"ooxml-schemas" with "poi-ooxml-schemas" in tika-bundle/pom.xml.
[1] https://issues.apache.org/jira/browse/TIKA-409
BR,
Jukka Zitting