logo separator

[mkgmap-dev] tilesplitter java Exception

From Thorsten Kukuk kukuk at suse.de on Mon Feb 28 12:08:16 GMT 2011


until now I used the following to split the osm.pbf data:

osmosis --rb ../../osm-data/$COUNTRY.osm.pbf --wx - | tilesplitter --mapid=$TILEID --max-nodes=900000 --description="$DESC" --cache=tile-cache

With r123, this worked fine, but with the precompiled java jar
r164 I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: crosby/binary/file/BlockReaderAdapter
Caused by: java.lang.ClassNotFoundException: crosby.binary.file.BlockReaderAdapter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: uk.me.parabola.splitter.Main. Program will exit.


Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)

More information about the mkgmap-dev mailing list