apache-POI can't be found?

10 views
Skip to first unread message

Masoud Ramuz

unread,
Oct 29, 2018, 7:25:49 AM10/29/18
to Icy imaging
Dear Icy community,

I've got a problem running my plugin:

I export my plugin.jar which has apache-POI jars and other .jar files referenced, and check the "Export java source files and resources" box.
This I believe should include all referenced jars in my plugin.jar, however I get an error indicating that the POI jars cannot be found when running the plugin.
java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Sheet

How could I resolve this?

Stephane

unread,
Nov 6, 2018, 5:56:53 AM11/6/18
to Icy imaging
Dear Masoud,

Apache POI library already exists as plugin in Icy (http://icy.bioimageanalysis.org/plugin/Apache_POI ) so you don't need to embed it in your plugin. Just mark "Apache POI" plugin as a dependency for your plugin (you can do that in the plugin management page). Doing that will ensure that "Apache POI" plugin will be installed automatically when your plugin will be installed and that should be enough to make it work.

Best,

- Stephane
Reply all
Reply to author
Forward
0 new messages