hello,
Thanks for the reply.. i did everything as you stated.. included all
the dependencies according to the tree but without Maven.. and still i am
getting this error...
Exception in thread "main" java.lang.ExceptionInInitializerError
at
org.geotools.referencing.crs.DefaultEngineeringCRS.<init>(DefaultEngineeringCRS.java:136)
at
org.geotools.referencing.crs.DefaultEngineeringCRS.<clinit>(DefaultEngineeringCRS.java:88)
at
org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.<clinit>(CartesianAuthorityFactory.java:61)
at
org.geotools.coverage.grid.io.AbstractGridFormat.<clinit>(AbstractGridFormat.java:99)
at
org.geotools.gce.geotiff.GeoTiffFormatFactorySpi.createFormat(GeoTiffFormatFactorySpi.java:88)
at
org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:185)
at
org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:241)
at
org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:216)
at ImageLab.displayLayers(ImageLab.java:101)
at ImageLab.getLayersAndDisplay(ImageLab.java:86)
at ImageLab.main(ImageLab.java:60)
Caused by: java.util.MissingResourceException: Can't find resource for
bundle org.geotools.resources.i18n.Vocabulary, key 252
at java.util.ResourceBundle.getObject(ResourceBundle.java:386)
at java.util.ResourceBundle.getObject(ResourceBundle.java:383)
at java.util.ResourceBundle.getString(ResourceBundle.java:346)
at
org.geotools.util.ResourceInternationalString.toString(ResourceInternationalString.java:100)
at
org.geotools.referencing.datum.AbstractDatum.name(AbstractDatum.java:183)
at
org.geotools.referencing.datum.DefaultEngineeringDatum.<clinit>(DefaultEngineeringDatum.java:69)
... 11 more
Java Result: 1
I am using geotools 8 jar's and i am running the ImageLab example given in
the tutorials.. is there any version issue??
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Gdal-error-while-running-ImageLab-example-tp5017554p5017905.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users