[ImageJ-devel] Maven problem
Stephan Preibisch
preibischs at janelia.hhmi.org
Fri Apr 11 03:16:15 CDT 2014
Hi,
Christian helped me, I changed the version of ImgLib2 to ${imglib2.version}, now it works.
But Eclipse doesn't recognize the opened project anymore (see screenshot). It also complains that "Overriding managed version 2.0.0-beta-25 for imglib2", no idea what that means.
Again, any help would be great.
Thanks a lot,
Steffi
On Apr 11, 2014, at 17:53 , Stephan Preibisch wrote:
> Hi guys,
>
> I am almost there with the new spimreconstruction branch (https://github.com/fiji/spimreconstruction/tree/newspimreconstruction), and I re-implemented the first fusion in ImgLib2. Now I run into the problem that a simple
>
> ImageJFunctions.show( ArrayImgs.floats( new long[]{ 300, 100, 200} ) );
>
> fails with:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: net/imglib2/display/projector/Projector2D
> at net.imglib2.img.display.imagej.ImageJVirtualStack.<init>(ImageJVirtualStack.java:93)
> at net.imglib2.img.display.imagej.ImageJVirtualStackFloat.<init>(ImageJVirtualStackFloat.java:51)
> at net.imglib2.img.display.imagej.ImageJFunctions.wrapFloat(ImageJFunctions.java:238)
> at net.imglib2.img.display.imagej.ImageJFunctions.wrap(ImageJFunctions.java:170)
> at net.imglib2.img.display.imagej.ImageJFunctions.show(ImageJFunctions.java:219)
> at net.imglib2.img.display.imagej.ImageJFunctions.show(ImageJFunctions.java:123)
> at spim.fiji.plugin.Image_Fusion.run(Image_Fusion.java:40)
> at spim.fiji.plugin.Image_Fusion.main(Image_Fusion.java:104)
> Caused by: java.lang.ClassNotFoundException: net.imglib2.display.projector.Projector2D
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> ... 8 more
>
>
> I have all imglib projects checked out, up-to-date and maven depencies updated.
>
> If anyone has any idea where this comes from would be great!
>
> Thanks so much,
> Steffi
> _______________________________________________
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
> http://imagej.net/mailman/listinfo/imagej-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140411/0f988b8c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen.jpeg
Type: image/jpg
Size: 69246 bytes
Desc: not available
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140411/0f988b8c/attachment-0001.jpg>
More information about the ImageJ-devel
mailing list