Exception when creating bounds

Hello I'm trying to create bounds by calling this: java -cp mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor lietuvos-ribos.osm.gz bounds Following exception is thrown: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor.runPreprocessing(BoundaryPreprocessor.java:242) at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor.main(BoundaryPreprocessor.java:184) Caused by: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap at uk.me.parabola.mkgmap.reader.osm.OSMId2ObjectMap.<init>(OSMId2ObjectMap.java:41) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.<init>(ElementSaver.java:49) This was fine before 2013-02-20 and problems started with mkgmap 2494. Is this a problem in mkgmap-latest.tar.gz (missing files?) or is there something missing in my system? Thank you P.S. linux, java-1.7.0-openjdk -- Tomas

On Fri, Feb 22, Tomas Straupis wrote:
Hello
I'm trying to create bounds by calling this:
java -cp mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor lietuvos-ribos.osm.gz bounds
Following exception is thrown:
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor.runPreprocessing(BoundaryPreprocessor.java:242) at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor.main(BoundaryPreprocessor.java:184) Caused by: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap at uk.me.parabola.mkgmap.reader.osm.OSMId2ObjectMap.<init>(OSMId2ObjectMap.java:41) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.<init>(ElementSaver.java:49)
This was fine before 2013-02-20 and problems started with mkgmap 2494. Is this a problem in mkgmap-latest.tar.gz (missing files?) or is there something missing in my system?
This means fastutil.jar is not found. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

2013/2/22 Thorsten Kukuk:
This means fastutil.jar is not found.
Ok, clear. My script was downloading mkgmap-latest.tar.gz and extracting .jar file only. So far this was enough. Now I have to extract jar's in "lib" as well (which contains fastutil.jar and some other ones as well). Everything works now. Thank you! -- Tomas
participants (2)
-
Thorsten Kukuk
-
Tomas Straupis