Hi,
I’m trying to use smack-3.2.2 as OSGi bundle.
I’ve developed a simple OSGi bundle, adding to its build path both smack.jar and smackx.jar.
In the bundle manifest, I have added these packages in the section Import-Package
Import-Package: org.osgi.framework, org.jivesoftware.smack, org.jivesoftware.smackx, org.jivesoftware.smackx.pubsub, org.jivesoftware.smackx.commands
In Knopferfish I’ve installed both smack and smackx.
When I start my bundle, it works and the bundle connects correctly to the server, but I have these errors logged in the knopflerfish console:
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.ServiceDiscoveryManager
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.XHTMLManager
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.muc.MultiUserChat
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamManager
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.filetransfer.FileTransferManager
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.LastActivityManager
[stderr] Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.commands.AdHocCommandManager
However, I’ve no errors, also using AdHocCommandManager, anyone knows what is the problem? Is there a way to solve it?
Thanks in advance,
Davide