logo separator

[mkgmap-dev] java.lang.NoClassDefFoundError

From Francois francois at arvernes.com on Tue Mar 5 06:29:30 GMT 2013

Hello,

I guess I use the latest code and libs, but I get these errors :

Time started: Tue Mar 05 07:20:48 CET 2013
java.lang.NoClassDefFoundError:
it/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap
    at
uk.me.parabola.mkgmap.reader.osm.OSMId2ObjectMap.<init>(OSMId2ObjectMap.java:38)
    at
uk.me.parabola.mkgmap.reader.osm.ElementSaver.<init>(ElementSaver.java:49)
    at
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.createElementSaver(OsmMapDataSource.java:149)
    at
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.setupHandler(OsmMapDataSource.java:131)
    at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:66)
    at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144)
    at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
    at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:201)
    at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:198)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException:
it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap
    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:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 14 more
Exiting - if you want to carry on regardless, use the --keep-going option

The command line:

java -Xmx896m -jar $FILEDIR/splitter.jar --cache=$cache --output=$output
--geonames-file=$geonames_file --max-areas="$max_areas"
--max-nodes="$max_nodes" --description="$description_splitter"
--mapid=$mapid $CARTESDIR/$geofabrik_map

                . Parameter $cache = /usr/local/misc/cartes
                . Parameter $output = xml
                . Parameter $geonames_file = cities1000.zip
                . Parameter $max_areas = 30
                . Parameter $max_nodes = 800000
                . Parameter $description_splitter = Carte Geographique OSM
                . Parameter $mapid = 66660001
                . Parameter $CARTESDIR/$geofabrik_map =
/usr/local/misc/cartes/auvergne.osm.bz2

java -version
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)


any ideas? Thanks. Francois


-- 
                           



More information about the mkgmap-dev mailing list