Hello<br><br>it's the first time I post on this list, so I hope it's the right place to ask this question!<br><br>I want to use Osmosis to keep a PostGIS database up-to-date (for use with Mapnik), as explained here <a href="http://wiki.openstreetmap.org/wiki/Minutely_Mapnik">http://wiki.openstreetmap.org/wiki/Minutely_Mapnik</a><br>
<br>I have installed osmosis via git clone this morning, so I assume it's the last version (0.41)<br><br>Apparently, osmosis has been installed properly, because the command <i>osmosis</i> returns the usage example:<br>
<blockquote><i>humadat@ssh:~$ osmosis                                                          <br>osmosis                                                                         <br>                                                                                <br>
Example Usage                                                                   <br>                                                                                <br>Import a planet file into a local PostgreSQL database. .... blablabla<br>
</i></blockquote>But the problem comes as soon as I want to actually use it:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><i>humadat@ssh:~$ osmosis --read-replication-interval workingDirectory=$WORKDIR_OSM</i>  <i>--simplify-change  --write-xml-change changes.osc.gz</i><br>
<i>Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classwor</i><br><i>lds/Launcher</i><br><i>Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher</i><br><i>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)</i><br>
<i>        at java.security.AccessController.doPrivileged(Native Method)</i><br><i>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)</i><br><i>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)</i><br>
<i>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)</i><br><i>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)</i><br><i>Could not find the main class: org.codehaus.classworlds.Launcher.  Program will</i><br>
<i>exit.</i><br></blockquote><br>Any idea where it can come from? I get the same error with any other option that I have used<br><br>I am working on a mutualized server on Debian Lenny and have Java 1.6.0_22 installed<br>
<br>In case it makes any difference, osmosis is installed under /user/my_user_name/data/prog/osmosis/package/bin and is added to my $PATH variable<br><br>Thanks a lot in advance for your help,<br><br>Stéphane<br><br clear="all">
--<br>"Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux" -- Albert Einstein<br><br>"A journey does not need reasons. Before long, it proves to be reason enough in itself. One thinks that one is going to make a journey, yet soon it is the journey that makes or unmakes you." -- Nicolas Bouvier<br>
<br>Photos de voyages, photos de montagne: <a href="http://www.henriod.info/" target="_blank">http://www.henriod.info</a><span dir="ltr"><span dir="ltr" title="Appeler ce numéro de téléphone en/au(x) Tadjikistan avec Skype : +992934624662"><span>  </span></span> <br>
</span><br>