The version of gt I used is 8.2. I got the same error after excluding. Here
is some more information: I downloaded the 8.2 source package from
geotools, unzipped it, changed all poms to depend on jscience 4.3.1 and
built using mvn -DskipTests -Dall in the root directory. It built like a
charm and seems to be working so far.

I think the reason why geotools still depends on old jscience is that there
might not be an easily available maven repo that hosts jsceince 4.3.1. I
realized later that I have a local install of it from a downloaded jar file
- i do not get it from the internet.

So, now, I wonder if geotools development team will not be averse to
download jscience 4.3.1,installing it in local repo, changing poms,
building with local jscience and then distributing it as a part of the
assembled zip file.

Thanks!

On Sun, Oct 14, 2012 at 2:37 AM, Michael Bedward
<[email protected]>wrote:

> Ah - I was going to suggest specifying it as an exclusion from
> GeoTools. When you say "that did not fix my problem" what does that
> mean ? E.g. same runtime errors or something else ?
>
> Also, what version of GeoTools are you working with ?
>
> Michael
>
> On 14 October 2012 16:40, Sachin Dole <[email protected]> wrote:
> > Hello,
> >
> > I recently started using the really useful tool for calculating
> distances,
> > bearings etc in a project. We have been using JScience 4.3.1 so far while
> > geotools uses a conflicting version of it "JSR 275 version beta 1". This
> is
> > leading to class mismatches at run time for us. How to tell geotools to
> not
> > use the old version? I tried excluding jscience from maven dependencies
> for
> > geotools, but that did not fix my problem.
> >
> > Any input is appreciated!
> >
> > Thanks,
> > Sachin
> >
> >
> ------------------------------------------------------------------------------
> > Don't let slow site performance ruin your business. Deploy New Relic APM
> > Deploy New Relic app performance management and know exactly
> > what is happening inside your Ruby, Python, PHP, Java, and .NET app
> > Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> > http://p.sf.net/sfu/newrelic-dev2dev
> > _______________________________________________
> > GeoTools-GT2-Users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
>



-- 
President  |  Genvega Inc.  |  www.genvega.com  |  tel: 630.290.2561
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to