java.lang.NoClassDefFoundError

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

Solutions on the web5300

  • 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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.