logo separator

[mkgmap-dev] Generate coastlines

From Stéphane MARTIN st3ph.martin at laposte.net on Tue Mar 3 23:54:22 GMT 2015

Hi,

I tried to generate coastlines according to this :
http://gis.19327.n5.nabble.com/coastline-td5745923i20.html

At the end, when I ran mkgmap I got an error :

Exception in thread "main" java.lang.NoClassDefFoundError:
org/opengis/referencing/crs/CoordinateReferenceSystem
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
	at java.lang.Class.getMethod0(Class.java:2856)
	at java.lang.Class.getMethod(Class.java:1668)
	at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException:
org.opengis.referencing.crs.CoordinateReferenceSystem
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 6 more

My command :
java -Xms$JXMS -Xmx$JXMX -cp
"$WORKDIR"/mkgmap/dist/mkgmap.jar:../lib/optional/* \
uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator \
"$SHAPEDIR"/land_polygons.shp WGS84 sea-"$DATE"

java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

Can you see where I failed ?

Steph


More information about the mkgmap-dev mailing list