From: Jose C. <co...@ul...> - 2005-08-08 16:08:22
|
ok, folks, I am relatively new to geotools. Trying to get the examples to read and render a shapefile to work. I have come across the following error when trying to instantiate a DefaultMapContext object. I have tried everything, including the java documentation, in search of the missing class (javax.units.Unit) but it is nowhere in the JAVA API docs ... help needed !! J. Cordova Exception in thread "main" java.lang.NoClassDefFoundError: javax/units/Unit at org.geotools.referencing.datum.DefaultGeodeticDatum.<clinit>(DefaultGeodeticDatum.java:83) at org.geotools.referencing.crs.DefaultGeographicCRS.<clinit>(DefaultGeographicCRS.java:77) at org.geotools.map.DefaultMapContext.<init>(DefaultMapContext.java:79) at ShpFileRdr.main(ShpFileRdr.java:20) -- ------------------------------------------------- Jose L. Cordova, Ph.D. Associate Professor of Computer Science University of Louisiana at Monroe Monroe, LA 71209 Office: 318-342-1855 ------------------------------------------------- |