map-writer: failed to create an XPathFactory for the default object model #303
From didi...@gmail.com on April 23, 2012 18:39:59
I'm trying to create a map file with the osmosis plugin, but the result is:
$ osmosis --rx file=cities/it-bozen/it-bozen.xml --mapfile-writer file=forge-it-bozen.map
$ java -version
osmosis 0.40.1+ds1-3 (Ubuntu package)
I use java 7 because of another osmosis-plugin requiring it.
Original issue: http://code.google.com/p/mapsforge/issues/detail?id=303
The text was updated successfully, but these errors were encountered:
From didi...@gmail.com on April 23, 2012 10:32:32
solved. Installing the Ubuntu version of osmosis was not a good idea, although it's the same version. Somehow it's dependencies caused this problem. After removing it and it's dependencies and using a "manually installed" osmosis instead, it works.
From gcmick...@gmail.com on April 24, 2012 02:44:42
I had a similar problem on my Debian system using Debians osmosis-package but I managed to solve it by doing this:
I checked that the package libxalan2-java was installed and then added the line "load /usr/share/java/xalan2.jar" at the end of /etc/osmosis/plexus.conf