NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, I'm following this page tutorial. Unfortunately I don't get very far. I've installed java 1.7 on Ubuntu 12.04. I've downloaded splitter-r423.jar and us-northeast-latest.osm.pbf to ~/Project$.

I then run $ java -jar splitter-r423.jar us-northeast-latest.osm.pbf

and I get this error: Exception in thread "main" java.lang.NoClassDefFoundError: crosby/binary/file/BlockReaderAdapter at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods( at java.lang.Class.getMethod0( at java.lang.Class.getMethod( at sun.launcher.LauncherHelper.getMainMethod( at sun.launcher.LauncherHelper.checkAndLoadMain( Caused by: java.lang.ClassNotFoundException: crosby.binary.file.BlockReaderAdapter at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 6 more I suspect it has to do with classpath but I can't fix it. Could you help? Thank You

asked 31 May '15, 03:42

Pierre222's gravatar image

accept rate: 0%

edited 31 May '15, 21:01

Richard's gravatar image

Richard ♦

I think you need to have all splitter files from the zip file, not only the jar file.

permanent link

answered 31 May '15, 09:10

ligfietser's gravatar image

accept rate: 11%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 31 May '15, 03:42

question was seen: 2,769 times

last updated: 31 May '15, 21:01

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum