Still we did include JTS previously and the jar-275 jar.

I think the list of missing jars is valid and could be reported as a bug.
--
Jody Garnett


On Sat, 13 Oct 2018 at 09:44, Ian Turton <ijtur...@gmail.com> wrote:

> Also, we have never included **all** the jars in releases, that's what
> maven is for.
>
> Ian
>
> On Sat, 13 Oct 2018 at 17:41, Ian Turton <ijtur...@gmail.com> wrote:
>
>> Check out the GeoTools Upgrade notes for all the changes -
>> http://docs.geotools.org/stable/userguide/welcome/upgrade.html
>>
>> Ian
>>
>> On Sat, 13 Oct 2018 at 16:57, Peter Borissow via GeoTools-GT2-Users <
>> geotools-gt2-users@lists.sourceforge.net> wrote:
>>
>>> Hello,
>>>     I am dusting off some old code that relies on GeoTools to calculate
>>> distances using the org.geotools.geometry.jts.JTS class. Example:
>>>
>>> DefaultGeographicCRS crs = DefaultGeographicCRS.WGS84;
>>> distance = JTS.orthodromicDistance(
>>>     coord,
>>>     prevCoord,
>>>     crs
>>> );
>>>
>>> I am building using Java 10. I tried to use some old jars from GeoTools
>>> 14.x but I got a runtime exception:
>>>
>>> "java.lang.IllegalArgumentException:
>>> org.opengis.referencing.datum.DatumFactory is not an ImageIO SPI class"
>>>
>>> After a quick search, it looks like I need to upgrade GeoTools so I
>>> downloaded the latest and greatest bundle from SourceForge and added all
>>> the jars to my project.
>>>
>>> I quickly discovered that the bundle is missing a few dependencies so I
>>> started hunting them down and adding them one-by-one. So far, I have added
>>> the following:
>>>
>>> jts-core-1.16.0
>>> si-units-java8-0.9
>>> uom-se-1.0.9
>>> uom-common-1.0.2
>>> unit-api-1.0
>>>
>>> However, I am now stuck with the following error:
>>> java.lang.NoClassDefFoundError: si/uom/quantity/MagnetomotiveForce
>>>
>>> Any suggestions as to where I can find this jar? Or the source code for
>>> the implementation of the MagnetomotiveForce interface?
>>>
>>> Also, would it be possible to include all the requisite jars in future
>>> releases?
>>>
>>> Thanks in advance,
>>> Peter
>>> _______________________________________________
>>> GeoTools-GT2-Users mailing list
>>> GeoTools-GT2-Users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>>
>>
>>
>> --
>> Ian Turton
>>
>
>
> --
> Ian Turton
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to