[Pkg-osm-maint] Bug#656432: java ClassNotFoundException
Andrew Harvey
andrew.harvey4 at gmail.com
Fri Jan 20 08:25:26 UTC 2012
On Thu, Jan 19, 2012 at 9:59 PM, David Paleino <dapal at debian.org> wrote:
> Could you please check whether adding:
>
> load /usr/share/osmosis/osmosis-core.jar
>
> at the end of /etc/osmosis/plexus.conf fixes this for you?
> It would be nice if you could also test different osmosis commands :)
Thanks David. Adding that line allowed osmosis to go a bit further outputting,
20/01/2012 7:12:02 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.40.1
20/01/2012 7:12:02 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
20/01/2012 7:12:02 PM org.openstreetmap.osmosis.core.Osmosis main
rather than giving the java.lang.ClassNotFoundException error message
straight away.
I still got
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type
read-xml doesn't exist. (actually --version isn't valid anyway, so I
used --read-xml to test)
after that, however, by appending
load /usr/share/osmosis/osmosis-apidb.jar
load /usr/share/osmosis/osmosis-areafilter.jar
load /usr/share/osmosis/osmosis-core.jar
load /usr/share/osmosis/osmosis-dataset.jar
load /usr/share/osmosis/osmosis-extract.jar
load /usr/share/osmosis/osmosis-hstore.jar
load /usr/share/osmosis/osmosis-pbf.jar
load /usr/share/osmosis/osmosis-pgsimple.jar
load /usr/share/osmosis/osmosis-pgsnapshot.jar
load /usr/share/osmosis/osmosis-replication.jar
load /usr/share/osmosis/osmosis-set.jar
load /usr/share/osmosis/osmosis-tagfilter.jar
load /usr/share/osmosis/osmosis-testutil.jar
load /usr/share/osmosis/osmosis-xml.jar
to /etc/osmosis/plexus.conf the problem was fixed completely, allowing
all the standard osmosis tasks to work as expected.
More information about the Pkg-osm-maint
mailing list