Hi Martin, It sounds like you have some traces of the Tag Transform plugin lying around. Are you specifying "-p uk.co.randomjunk.osmosis.transform.TransformPlugin" on the command line somewhere? Perhaps in a .osmosis file in your home directory, or /etc/osmosis?
The Tag Transform plugin is not a standard part of Osmosis, so it seems like you've installed it in the past but haven't fully cleaned up after removing it. Brett On Sat, Feb 27, 2010 at 8:28 PM, Martin Simon <[email protected]> wrote: > Hi list, hi devs! > > I try to use osmosis, but always get this error message: > > m...@samsux:~/osm/mapgen$ osmosis --read-xml test.osm --way-key-value > keyValueList="railway.tram,railway.tram_stop" --used-node --write-xml > city_tram.osm > 27.02.2010 10:06:16 org.openstreetmap.osmosis.core.Osmosis run > INFO: Osmosis Version 0.34 > 27.02.2010 10:06:16 org.openstreetmap.osmosis.core.Osmosis main > SCHWERWIEGEND: Execution aborted. > org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to load > plugin class (uk.co.randomjunk.osmosis.transform.TransformPlugin). > at > org.openstreetmap.osmosis.core.TaskRegistrar.loadPluginClass(TaskRegistrar.java:598) > at > org.openstreetmap.osmosis.core.TaskRegistrar.loadPlugin(TaskRegistrar.java:577) > at > org.openstreetmap.osmosis.core.TaskRegistrar.initialize(TaskRegistrar.java:408) > at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:74) > at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > at org.codehaus.classworlds.Launcher.main(Launcher.java:31) > Caused by: java.lang.ClassNotFoundException: > uk.co.randomjunk.osmosis.transform.TransformPlugin > at > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) > at > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) > at > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) > at > org.openstreetmap.osmosis.core.TaskRegistrar.loadPluginClass(TaskRegistrar.java:596) > ... 13 more > > I tried to google it but found only the corresponding source code, > which makes me feel quite lonely with this problem ;-) > > My system is debian sid (sidux) on a 64bit machine, "java -version" says: > java version "1.6.0_17" > Java(TM) SE Runtime Environment (build 1.6.0_17-b04) > Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode) > > No matter which version of osmosis I install (0.32.2-2 via apt-get or > the binary packages), I always get that error. > On Windows Vista (32bit), everything is fine - well, no, nothing is > fine, except that osmosis runs without a problem. > But booting into Windows to run a platform independent tool makes me > feel silly. ;-) > > Do you have a clue of what's wrong? > > cheers & thanks for your work, > > Martin > > _______________________________________________ > osmosis-dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/osmosis-dev >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
