logo separator

[mkgmap-dev] splitter error : java.lang.NoClassDefFoundError: crosby/binary/file/BlockReaderAdapter

From frmas frmas at free.fr on Sun Feb 27 17:18:13 GMT 2011

Le 27/02/2011 15:22, Steve Ratcliffe a écrit :
> This is due to not having the osmpbf.jar and/or the protobuf.jar
> or them not being available on the classpath.
> 
> If you download splitter-r164 it should work out of the box as
> long as you use the -jar option to java.
> 
>   java -jar splitter.jar ...

:-( It didn't.
I've tried :

  export
CLASSPATH=$CLASSPATH:/opt/jars/osmprotobuf/osmpbf.jar:/opt/jars/protobuf-2.3.0/protobuf.jar
  java -Xmx896m -jar $FILEDIR/splitter.jar --cache=$cache
--geonames-file=$geonames_file --max-areas="$max_areas"
--max-nodes="$max_nodes" --description="$description_splitter"
--mapid=$mapid $CARTESDIR/$geofabrik_map

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

I've downloaded splitter -r164, but got the same result. Do not know
where my mistake is.... Francois

-- 



More information about the mkgmap-dev mailing list