Michael,
Have you or anyone else found any solution of your problem? If so, can you
please tell me how you did it, because I have the same problem... :(

I'm using GeoTools 2.5.2

Kind regards,
Paul


Michael Owonibi wrote:
> 
> Dear All, 
> 
>  
> 
> I am wondering if anybody can help me with this.  I am trying to implement
> reprojection and this runs well in eclipse with everything ok, but when I
> exported the file as a run-able jar,  the reprojection doesn't seem to
> work
> but it gives this error "exception in thread "main"
> org.opengis.referencing.NoSuchAuthorityCodeException". Maybe it is defined
> in an unreachable JAR file?
> 
>  
> 
> My codes is given below (it works well in eclipse).
> 
>  
> 
> import org.geotools.referencing.CRS;
> 
> import org.opengis.referencing.FactoryException;
> 
> import org.opengis.referencing.NoSuchAuthorityCodeException;
> 
>  
> 
>  
> 
> public class Repojava {
> 
>  
> 
>       /**
> 
>        * @param args
> 
>        * @throws FactoryException 
> 
>        * @throws NoSuchAuthorityCodeException 
> 
>        */
> 
>       public static void main(String[] args) throws
> NoSuchAuthorityCodeException, FactoryException {
> 
>             // TODO Auto-generated method stub
> 
> System.out.println(CRS.decode("EPSG:27700"));
> 
>  
> 
>  
> 
>  
> 
>       }
> 
>  
> 
> }
> 
>  
> 
>  
> 
> What do I need to do in exporting this code as a run-able jar file.
> 
>  
> 
> Thanks!
> 
>  
> 
>  
> 
> Michael
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Reprojection-jar-can-t-locate-my-HSQL-database-tp2180394p3865581.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to