I have created Eclipse plug-ins using POI without issue. Eclipse plug-ins are essentially OSGi bundles and I've never had this problem, but I always use pretty much everything:
dom4j-1.6.1.jar poi-3.8-beta1-20101230.jar poi-examples-3.8-beta1-20101230.jar poi-ooxml-3.8-beta1-20101230.jar poi-ooxml-schemas-3.8-beta1-20101230.jar poi-scratchpad-3.8-beta1-20101230.jar stax-api-1.0.1.jar xmlbeans-2.3.0.jar This is obviously using POI 3.8 and from a while ago, too, but it is demonstrative of what I needed to use. Sincerely, JOn >________________________________ > From: Nick Burch <[email protected]> >To: POI Users List <[email protected]> >Sent: Sunday, November 20, 2011 5:34 PM >Subject: Re: POI 3.7 OSGi bundle with ooxml > >On Sun, 20 Nov 2011, ychawla wrote: >> I am trying to process a xslx spreadsheet in the ServiceMix OSGi container. >> I am running into lots of problems that I have documented on the ServiceMix >> list: >> >> http://servicemix.396122.n5.nabble.com/Apache-Poi-3-7-component-tc4912054.html > >I wonder if you might be missing one of the xmlbeans dependencies, and you're >getting a spurious error from your classloader because of that? > >FWIW, Apache Tika produces an OSGi bundle of all the Tika jars and their >dependencies, which includes POI and OOXML-Schemas. I've not heard of any >problems with people using that, so maybe you could find some hints in the >maven pom used for that? > >Nick > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > >
