[OSM-dev] Osmosis 0.34 Java Exception
Aaron Schaefer
aaron at elasticdog.com
Tue Mar 16 19:16:38 GMT 2010
On Fri, Mar 5, 2010 at 2:39 PM, John Smith <deltafoxtrot256 at gmail.com> wrote:
> On 6 March 2010 01:09, Aaron Schaefer <aaron at elasticdog.com> wrote:
>> I'm having a similar issue as André Riedel last month:
>> http://lists.openstreetmap.org/pipermail/dev/2010-February/018500.html
>> ...but it's not quite the same error and the 0.34 release didn't fix
>> it. Using the Osmosis 0.34 release, I'm getting the following message:
>>
>> osmosis-0.34 $ ./bin/osmosis --read-change-interval-init
>
> From http://wiki.openstreetmap.org/wiki/Minutely_Mapnik
>
> osmosis --rrii workingDirectory=.
> osmosis --rri workingDirectory=. --wxc diffs.osc.gz
> osmosis --rri workingDirectory=. --wxc | osm2pgsql -a .....
Sorry for the delayed response...including the working directory
specification does not change my Java error:
# ./bin/osmosis --rrii workingDirectory=tmp
Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.codehaus.classworlds.Launcher.
Program will exit.
Is there anything special you have to do with the Java installation
for this to work?
--
Aaron Schaefer
More information about the dev
mailing list