[jitsi-dev] help


#1

Hello, I'm newbie in Jitsi. I try to use apache poi packages in my Jitsi
project, but after compiling, I run the program,(my custom button works as
well) if I choose my .ppt file I got this output, before the "XMLSlideShow
ppt = new XMLSlideShow(OPCPackage.open(chosenFile));" line : SEVERE: [46]
util.UtilActivator.uncaughtException().108 An uncaught exception occurred
in thread=Thread[AWT-EventQueue-0,6,main] and message was:
org/apache/poi/xslf/usermodel/XMLSlideShow
[java] java.lang.NoClassDefFoundError:
org/apache/poi/xlsf/usermodel/XMLSlideShow

So my question is how can I add this apache-poi library to jitsi library? I
add it by using eclipse: eclipse->project preferences->libraries.

I put my code into CallPanel.java its only an ActionListener and 2 methods,
which want to use org.apache.poi libraries.

Thanks, Thomas


#2

Hey Thomas,

Hello, I'm newbie in Jitsi. I try to use apache poi packages in my Jitsi
project, but after compiling, I run the program,(my custom button works
as well) if I choose my .ppt file I got this output, before the
"XMLSlideShow ppt = new XMLSlideShow(OPCPackage.open(chosenFile));" line
: SEVERE: [46] util.UtilActivator.uncaughtException().108 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: org/apache/poi/xslf/usermodel/XMLSlideShow
[java] java.lang.NoClassDefFoundError:
org/apache/poi/xlsf/usermodel/XMLSlideShow

So my question is how can I add this apache-poi library to jitsi
library? I add it by using eclipse: eclipse->project
preferences->libraries.

I put my code into CallPanel.java its only an ActionListener and 2
methods, which want to use org.apache.poi libraries.

Your problem is most likely related to making your library available to the OSGi Jitsi bundle that is using it.

The easiest way to make this work is to sure that your jar is bundled together with your plugin. Look at the build.xml, we do this for most of our bundles.

Hope this helps,
Emil

···

On 28.03.14, 11:06, Tam�s K�rp�ti wrote:

--
https://jitsi.org