java.lang.NoClassDefFoundError: Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by scott bortman, 1 year ago
Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi
java.lang.NoClassDefFoundError: Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi
at org.geotools.image.io.ImageIOExt.getImageInputStreamSPI(ImageIOExt.java:221)
at org.geotools.image.io.ImageIOExt.getImageInputStreamSPI(ImageIOExt.java:204)
at org.geotools.gce.geotiff.GeoTiffReader.(GeoTiffReader.java:196)
at org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:283)
at org.geotools.gce.geotiff.GeoTiffFormat$getReader.call(Unknown Source)
at geoscript.layer.Format.read(Format.groovy:192)
at geoscript.layer.Format$read$1.callCurrent(Unknown Source)
at geoscript.layer.Format.read(Format.groovy:111)
at geoscript.layer.Format.read(Format.groovy)
at geoscript.layer.Format$read$0.call(Unknown Source)
at undefined.ConsoleScript2.run(ConsoleScript2:5)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.