Re: [Geotools-gt2-users] java newbee

2019-02-22 Thread paul.malm
Thanks, I solved the problem by installing via maven at home and copying the .m2 repository to my work. Something with the proxy... Från: Malm, Paul (Operations AIM) Skickat: den 20 februari 2019 19:07 Till: Jody Garnett Kopia: GeoTools Users Ämne: Re: [Geotools-gt2-users] java newbee I don't k

[Geotools-gt2-users] EPSG in a runnable jar

2019-02-22 Thread paul.malm
Hi, I export my project to a runnable jar in eclipse, but I don't seem to get the gt-epsg jarfile in the exported jar. Getting this error when running the exported jar: INFO: --- org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is

Re: [Geotools-gt2-users] EPSG in a runnable jar

2019-02-22 Thread fernando.m...@geo-solutions.it
You should check your final generated jar, some uber-jar generators can make META-INF/service files overlapping, and EPSG uses java service registration. I recommend you to use Maven Shade plugin and its Resources transformers (ServicesResourceTransformer) to generate a good uber jar.