Stefan Krüger a écrit :
> But, when i pack it all up (with fatjar actually - 
> http://fjep.sourceforge.net/ ) to a JAR and run it, i get the following 
> exception:
> 
>> org.opengis.referencing.NoSuchIdentifierException: No transform for 
>> classification "Transverse_Mercator".
>>   at 
>> org.geotools.referencing.operation.DefaultMathTransformFactory.getProvider(DefaultMathTransformFactory.java:266)

Check what happen to the content of META-INF/services directory in your packed 
JAR. Does it contains a 
org.geotools.referencing.operation.MathTransformProvider 
file? Also note that some files appear in more than one JAR with the same name, 
for example org.opengis.referencing.CRSAuthorityFactory. I don't know how 
fatjar 
behave in such case, but if it overwrite those files with the one found in the 
latest JAR, it will not work. If we want everything in the same JAR, we need to 
make sure that the content of every META-INF/services files is concatenated.

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to