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

Google Groups | scott bortman | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Groovy Build issues

    Google Groups | 3 years ago | scott bortman
    java.lang.NoClassDefFoundError: Could not initialize class org.geotools.imageio.netcdf.NetCDFImageReaderSpi

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

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

      at org.geotools.image.io.ImageIOExt.getImageInputStreamSPI()
    2. org.geotools.image
      ImageIOExt.getImageInputStreamSPI
      1. org.geotools.image.io.ImageIOExt.getImageInputStreamSPI(ImageIOExt.java:221)
      2. org.geotools.image.io.ImageIOExt.getImageInputStreamSPI(ImageIOExt.java:204)
      2 frames
    3. org.geotools.gce
      GeoTiffFormat$getReader.call
      1. org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:196)
      2. org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:283)
      3. org.geotools.gce.geotiff.GeoTiffFormat$getReader.call(Unknown Source)
      3 frames
    4. geoscript.layer
      Format$read$0.call
      1. geoscript.layer.Format.read(Format.groovy:192)
      2. geoscript.layer.Format$read$1.callCurrent(Unknown Source)
      3. geoscript.layer.Format.read(Format.groovy:111)
      4. geoscript.layer.Format.read(Format.groovy)
      5. geoscript.layer.Format$read$0.call(Unknown Source)
      5 frames
    5. Unknown
      ConsoleScript2.run
      1. ConsoleScript2.run(ConsoleScript2:5)
      1 frame