failed.java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path Exception in thread "main" java.lang.ClassCastException: sun.awt.image.URLImageSource cannot be cast to java.io.InputStream at org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCFormat.accepts(ImageMosaicJDBCFormat.java:176) at org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:172) at org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:200)

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 mail-archive.com by Unknown author, 1 year ago
no gdaljni in java.library.path Exception in thread "main" java.lang.ClassCastException: sun.awt.image.URLImageSource cannot be cast to java.io.InputStream at org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCFormat.accepts
failed.java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path Exception in thread "main" java.lang.ClassCastException: sun.awt.image.URLImageSource cannot be cast to java.io.InputStream at org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCFormat.accepts(ImageMosaicJDBCFormat.java:176) at org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:172) at org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:200)
at my.app.gis.utils.examples.ImageLab.displayLayers(ImageLab.java:98)
at my.app.gis.utils.examples.ImageLab.getLayersAndDisplay(ImageLab.java:80)
at my.app.gis.utils.examples.ImageLab.main(ImageLab.java:54)

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.

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