I encountered the similar problem:
In the Eclipse, if I choose "Package required libraries into generated JAR",
it will throw these exceptions during running.
If I choose "Copy required libraries into a sub-folder next to the generated
JAR", everything is fine, but I really don't like the extra folder out of
the JAR.
And if I choose "Extracted required libraries into generated JAR", it will
throw some other exceptions, like:
Exception in thread "main"
org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:3005"
from authority "EPSG" found for object of type "EngineeringCRS".
at
org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.noSuchAuthorityException(CartesianAuthorityFactory.java:136)
at
org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.createEngineeringCRS(CartesianAuthorityFactory.java:130)
at
org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.createCoordinateReferenceSystem(CartesianAuthorityFactory.java:121)
at
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:800)
at
org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:731)
at
org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179)
Any suggestions?
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/My-executable-jar-works-fine-but-when-I-wrap-it-using-Launch4j-I-get-ExceptionInInitializerError-at--tp4484929p4538652.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users