Have you installed Osmosis to a path that includes spaces? There appears to be an issue with spaces, but I haven't looked into it yet.
Brett On Wed, Mar 17, 2010 at 6:16 AM, Aaron Schaefer <[email protected]>wrote: > On Fri, Mar 5, 2010 at 2:39 PM, John Smith <[email protected]> > wrote: > > On 6 March 2010 01:09, Aaron Schaefer <[email protected]> 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 > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev >
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

