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

james pruett gpscruise at gmail.com
Wed Sep 2 06:12:36 BST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090902/f036c64b/attachment.html>


More information about the dev mailing list