I am trying to sort up the Netcdf support. 1) If I just install the jar files that come in the geotools 14.0 distro I keep getting an unsatified link error, which leads me to believe that the netcdf jar file included is the C netcdf jar file 2) If instead I install the netcdf jars from the imageio-ext distro, I get the following error:
Exception in thread "main" java.util.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi: Provider org.geotools.imageio.netcdf.NetCDFImageReaderSpi could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry. java:210) at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:138) at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:159) at javax.imageio.ImageIO.<clinit>(ImageIO.java:66) at riskscape.newui.icons.UIResources.getBufferedImage(UIResources.java:43) at riskscape.newui.components.RiskScapeFlashScreen.<init>(RiskScapeFlashScreen .java:55) at riskscape.newui.RiskScape.main(RiskScape.java:149) Caused by: java.lang.NoClassDefFoundError: ucar/nc2/jni/netcdf/Nc4Iosp at org.geotools.imageio.netcdf.utilities.NetCDFUtilities.<clinit>(NetCDFUtilit ies.java:338) at org.geotools.imageio.netcdf.NetCDFImageReaderSpi.<clinit>(NetCDFImageReader Spi.java:131) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce ssorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru ctorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 9 more Caused by: java.lang.ClassNotFoundException: ucar.nc2.jni.netcdf.Nc4Iosp at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 17 more So I am a bit confused. This was not a problem with geotools 13. Gaby ------------------------------------------------------------------------------ _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users