java.lang.NoClassDefFoundError

Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5306

  • via Google Groups by scott bortman, 6 months ago
    Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi
  • via Google Groups by robbertjan.vanwijhe, 6 months ago
    Could not initialize class
  • via Google Groups by Zsolt Kúti, 6 months ago
    Could not initialize class
  • Stack trace

    • 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.<init>(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 ConsoleScript2.run(ConsoleScript2:5) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.