Alexander,

like with all Java applications: it is _always_ the class path :D Judging from the stack trace and the classes involved, you have two Xerces jars somewhere. I can think at least of two possible constellations:

1. You have an Osmosis plugin which has a dependency on another version of Xerces than the one shipped with Osmosis. That way, you have two Xerces jars in your $OSMOSIS_HOME/lib/default or something like that. Just delete one of them and everything will probably be fine.

2. You have some kind of a system-wide Xerces installation so that you end up with two Xerces jars in your classpath. The solution is to ensure that you only have one of them, somehow.

Unfortunately, this is very hard to debug this remotely, because it depends on the exact configuration of your system... and it's quite hard to reproduce. Please check $OSMOSIS_HOME/conf/plexus.conf, the files in $OSMOSIS_HOME/lib/default and $HOME/.openstreetmap/osmosis/plugins. If you have 2 xerces-* jars somewhere, this is probably the problem. If not, please describe your Osmosis class path as exactly as possible and maybe we can find some clues as to where to look further.

Hope that helps,
Надеюсь, это как-нибудь поможет, :)
Igor

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to