[OSM-dev] My java skills are showing.... Having trouble using osmosis first time in DOS... Thanks!

Brett Henderson brett at bretth.com
Wed Sep 2 13:36:22 BST 2009


Hi James,

I think there was a problem in the osmosis.bat file in the 0.31 
release.  Can you try the latest nightly build?
http://dev.openstreetmap.org/~bretth/osmosis-build/osmosis-0.31.2-bin.zip

Brett

james pruett wrote:
> Ok, now I have all the details:
>
> cd c:\osmosis\osmosis-0.31\bin
>
> osmosis.bat > error.txt 2>&1
>
> -----------error.txt---------------
>
> C:\osmosis\osmosis-0.31\bin>java  -cp 
> osmosis.jar;..\lib\default\commons-logging-1.0.4.jar;..\lib\default\mysql-connector-java-5.1.6.jar;..\lib\default\postgresql-8.3-603.jdbc4.jar;..\lib\default\postgis_1.3.2.jar 
> org.openstreetmap.osmosis.core.Osmosis   
> Sep 2, 2009 12:08:44 AM org.openstreetmap.osmosis.core.Osmosis run
> INFO: Osmosis Version 0.31
> Sep 2, 2009 12:08:44 AM org.openstreetmap.osmosis.core.Osmosis main
> SEVERE: Execution aborted.
> java.lang.NoClassDefFoundError: org/java/plugin/PluginLifecycleException
>     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.PluginLifecycleException
>     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)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     ... 2 more
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>   





More information about the dev mailing list