fiji / Stitching

Fiji's Stitching plugins reconstruct big images from tiled input images.
http://imagej.net/Stitching
GNU General Public License v2.0
96 stars 64 forks source link

Error while building from source: Plugin or class not found #64

Open SergeTauger opened 2 years ago

SergeTauger commented 2 years ago

I wanted to try optimizing the plugin for my task (stitching of hundreds RGB images, currently I get out of memory). As I am new to Maven, I started from building already working project from source.

I downloaded 3.18 snapshot (recent version in Fiji distribution), imported the project to Eclipse, clicked "Run as -> Maven build -> Run". In /target directory I found 3 jars: Stitching-3.1.8.jar, Stitching-3.1.8-sources.jar, and Stitching-3.1.8-tests.jar and copied Stitching-3.1.8 to /plugins folder of a clean ImageJ distribution. The plugin appeared in plugins menus like in Fiji, but when I click "Grid/collection stitching" I get popup window saying Plugin or class not found "Stitching_Grid". Java.lang.ClassNotFoundException: Stitching_Grid. However, if I run the plugin from Eclipse (src/test/java/Main.java, Run as -> Java Application) the plugin works OK.

What am I doing wrong? Did I miss some build options?

Best, Serge