Hi all,
I tried the maven shade plugin and it works.......almost. I can get my
geotools app to now open by clicking on the executable .jar file, I can
perform drawing functions, open shapefiles, etc, but when I try to import
any image files into it, I get:
"Exception in Thread.....java.lang.NoClassDefFoundError: Could not
initialize class javax.imageio.ImageIO at
org.geotools.gce.image.WorldImageReader.<init><WorldImageReader.java:220) at
org.geotools.gce.image.WorldImageFormat.getRead(WorldImageFormat.java:346
...
...
My geotools application works fine when run from within Netbeans so
apparantly a jar file is missing when I run it from the executable jar file
outside of netbeans
Any help would be hugely appreciated, I've been stuck on this for days
Thank you!!!
Spencer
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Building-runnable-jar-file-tp5508489p5543861.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users