powered by Jive Software

Problem loading an external library in plugin

Hi All,

I browsed already the forum and tried to follow what was described as a possible solution.

In my plugin I am using a library (jar lib). I placed the library in the lib folder of my plugin source. Compilation of the plugin is successful and I also can execute the library. But when I am running the code where the library is used I am getting a

java.lang.NoClassDefFoundError: Could not initialize class …

I followed the advice in copying the lib to the folder

target/openfir

target/openfire

target/openfire

target/openfire/lib/…

but I am still getting the same error.

I am using the latest released Openfire version.

Thanks in advance for your help!