Geotools cannot find HSQL EPSG DB, throws error: NoSuchAuthorityCodeException

前端 未结 5 1283
轻奢々
轻奢々 2020-12-09 11:32

I am running Geotools inside of Apache Storm, and having a heck of a time with geotools dependency management. Every thing works when I run the storm cluster locally (window

5条回答
  •  攒了一身酷
    2020-12-09 11:52

    I had this problem when using a Maven dependency (Matsim) which used geotools, while I was not using geotools in my project directly. I was building a 'fat' jar using the maven-shade-plugin .

    The solution was simply to add a transformer to the shade plugin configuration (as cello mentions at the bottom of his answer).

    
    

提交回复
热议问题