Hi
I was trying to upgrade poi version to 3.11 with tika 1.5 which seems
noncompatible ( got some AdbstractMetodError for while Excel processing ). So
tried to move to tika 1.6 where I see my test cases failing ( for a .pptx file
with some image) with below exception ( full stacktrace is attached along with
my integration test scenario)
java.lang.ClassNotFoundException: com.drew.metadata.MetadataException not found
by org.apache.tika.parsers [19]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDele
gation(BundleWiringImpl.java:1556)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringIm
pl.java:77)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadCla
ss(BundleWiringImpl.java:1993)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:56)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244
)
Explictely tried putting upstream lib dependency in my pom ,but that di dnot
help either
-------------------------------------------------------------
<dependency>
<groupId>com.drewnoakes</groupId>
<artifactId>metadata-extractor</artifactId>
<version>2.6.2</version>
<scope>test</scope>
</dependency>
-------------------------------------------------------------
-Ashok
P.S. Tried with tika 1.7 also , but no luck.
ÿþ
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
T e s t c a s e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ R u n W i t h ( J U n i t 4 T e s t R u n n e r . c l a s s )
p u b l i c c l a s s O f f i c e P a r s e r I T {
@ C o n f i g u r a t i o n
p u b l i c O p t i o n [ ] c o n f i g u r a t i o n ( )
t h r o w s I O E x c e p t i o n , U R I S y n t a x E x c e p t i o n
{
r e t u r n C o r e O p t i o n s . o p t i o n s (
j u n i t B u n d l e s ( ) ,
m a v e n B u n d l e ( "