[ 
https://issues.apache.org/jira/browse/SM-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600733#comment-17600733
 ] 

J. Brébec commented on SM-5159:
-------------------------------

I didn't success to use this bundle in my application. When I try to load an 
Excel document, it fails with the message "Your InputStream was neither an OLE2 
stream, nor an OOXML stream or you haven't provider the poi-ooxml*.jar in the 
classpath/modulepath - FileMagic: OLE2, having provider: []"

It looks like poi v5 uses a ServiceLoader to load WorkbookFactoryProvider. 
However, this bundle doesn't package the declaration of the provider in 
META-INF/services

[~jbonofre] I have missed something in the upgrade or is this a real bug ? 
thanks !

> Create OSGi bundle for POI 5.2.2
> --------------------------------
>
>                 Key: SM-5159
>                 URL: https://issues.apache.org/jira/browse/SM-5159
>             Project: ServiceMix
>          Issue Type: Dependency upgrade
>          Components: bundles
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: bundles-2022.05
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to