logo separator

[mkgmap-dev] tilesplitter java Exception

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

On Mon, Feb 28, Thorsten Kukuk wrote:

> On Mon, Feb 28, Steve Ratcliffe wrote:
> 
> > On 28/02/11 12:08, Thorsten Kukuk wrote:
> > 
> > Hi
> > 
> > > 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)
> > 
> > Unless I'm missing somthing, it should work as long as you use the
> > whole distibution.
> > 
> > However, you cannot just take splitter.jar, you need also the lib
> > directory, which is where the up-to-date osmpbf and protobuf jars are.
> 
> Yes, found it meanwhile myself,  for some reasons I missed to copy one jar
> from the lib directory.

Sorry, a little bit too fast: If I supply a osm.pbf file
on command line, it works, but no longer via pipe:

Exception in thread "main" java.lang.IllegalArgumentException: No .osm files wer
e supplied so at least one of --cache or --split-file must be specified
        at uk.me.parabola.splitter.Main.split(Main.java:145)
        at uk.me.parabola.splitter.Main.start(Main.java:114)
        at uk.me.parabola.splitter.Main.main(Main.java:103)

 Thorsten

-- 
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