[OSM-dev] osmosis 0.31.1 not starting

marcus.wolschon at googlemail.com marcus.wolschon at googlemail.com
Tue May 26 09:29:48 BST 2009



Looks like the fat jar(tm)  osmosis.jar did not contain the jpf-1.5.jar
here.

Hanno: If you use "-jar" for an executable jar
       then setting "-classpath" is ignored.

Marcus

On Tue, 26 May 2009 10:09:06 +0200, Hanno Böck <hanno at hboeck.de> wrote:
> java  -classpath /usr/share/osmosis/lib/osmosis.jar
> -Djava.library.path=/lib:/usr/lib  -jar
/usr/share/osmosis/lib/osmosis.jar
> May 26, 2009 10:07:30 AM org.openstreetmap.osmosis.core.Osmosis run
> INFO: Osmosis Version 0.31.1
> May 26, 2009 10:07:31 AM org.openstreetmap.osmosis.core.Osmosis main
> SEVERE: Execution aborted.
> java.lang.NoClassDefFoundError: org/java/plugin/JpfException
>         at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:73)
>         at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)
> Caused by: java.lang.ClassNotFoundException: org.java.plugin.JpfException
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)





More information about the dev mailing list