You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 imported the project to Eclipse, clicked "Run as -> Maven build -> Run". In /target directory I found 3 jars: Stitching_-3.1.9.jar, Stitching_-3.1.9-sources.jar, and Stitching_-3.1.9-tests.jar and i copied Stitching_-3.1.9 to /plugins folder . However, if I run the plugin from Eclipse (src/test/java/Main.java, Run as -> Java Application) an exception displayed in console as...
Exception in thread "main" java.lang.IllegalArgumentException: Cannot add class path from ClassLoader of type jdk.internal.loader.ClassLoaders$AppClassLoader
at net.imagej.patcher.LegacyEnvironment.addPluginClasspath(LegacyEnvironment.java:275)
at fiji.Debug.runFilter(Debug.java:85)
at fiji.Debug.runFilter(Debug.java:68)
at fiji.Debug.run(Debug.java:55)
at Main.main(Main.java:27)
What am I doing wrong? Did I miss some build options?
The text was updated successfully, but these errors were encountered:
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 imported the project to Eclipse, clicked "Run as -> Maven build -> Run". In /target directory I found 3 jars: Stitching_-3.1.9.jar, Stitching_-3.1.9-sources.jar, and Stitching_-3.1.9-tests.jar and i copied Stitching_-3.1.9 to /plugins folder . However, if I run the plugin from Eclipse (src/test/java/Main.java, Run as -> Java Application) an exception displayed in console as...
Exception in thread "main" java.lang.IllegalArgumentException: Cannot add class path from ClassLoader of type jdk.internal.loader.ClassLoaders$AppClassLoader
at net.imagej.patcher.LegacyEnvironment.addPluginClasspath(LegacyEnvironment.java:275)
at fiji.Debug.runFilter(Debug.java:85)
at fiji.Debug.runFilter(Debug.java:68)
at fiji.Debug.run(Debug.java:55)
at Main.main(Main.java:27)
What am I doing wrong? Did I miss some build options?
The text was updated successfully, but these errors were encountered: