logo separator

[mkgmap-dev] PrecompSeaGenerator - which geotools version?

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Oct 23 14:13:39 BST 2018

Hi Thorsten,

do you execute with the libs downloaded with the build file?
They are in lib/optional and should be quite old.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk at suse.de>
Gesendet: Dienstag, 23. Oktober 2018 15:08
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] PrecompSeaGenerator - which geotools version?


Hi Gerd,

On Sat, Oct 20, Gerd Petermann wrote:

> Hi Thorsten,
>
> my steps to compile from scratch:
> 1) svn checkout
> 2) edit build.xml and remove the line
> <exclude name="**/optional/*.java"/>
> 3) execute ant resolve-optional dist

This compiles, but gives me:
Exception in thread "main" java.lang.IllegalArgumentException: org.geotools.data.DataStoreFactorySpi is not an ImageIO SPI class
        at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
        at java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
        at org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:154)
        at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:90)
        at org.geotools.data.DataStoreFinder.getServiceRegistry(DataStoreFinder.java:126)
        at org.geotools.data.DataStoreFinder.getAvailableDataStores(DataStoreFinder.java:114)
        at org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:86)
        at uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.createShapefileAccess(PrecompSeaGenerator.java:241)
        at uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.runSeaGeneration(PrecompSeaGenerator.java:259)
        at uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.main(PrecompSeaGenerator.java:414)

  Thorsten

--
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list