|
From: Anuruddha P. <anu...@gm...> - 2014-06-18 13:05:00
|
Hi, I'm trying to transform coordinates using JTS transform. And I'm using geotools version 12-SNAPSHOT dependencies. Following are the dependencies used in the pom file. * gt-shapefile * gt-epsg-hsql The transformation function works well when it runs as an eclipse project. But when i bundled it as a jar and use in a OSGI enviornment, it throws the following error. *org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is unknown or doesn't match the supplied hints. Maybe it is defined in an unreachable JAR file?* I've exported all the needed packages when building the jar, also checked inside the jar to verify. I found a thread, which says there might be issues in using transformation function in OSGI environment. Is this a known issuecr?. Regards, -- *Anuruddha Premalala(STMIEEE,STMACM) Mobile : +94710461070E-mail : anu...@gm... <anu...@gm...>Sri Lanka.* |