Hi Luong > Although, this one in particular, > > <dependency> > <groupId>com.vividsolutions</groupId> > <artifactId>jts</artifactId> > <version>1.9</version> > </dependency> > > i could not change as i just got the same error asking me to manuallly > install it ect. so i left it like it is.
Oh-oh... I probably should have emphasized that I was only talking about the GeoTools dependencies before (e.g. gt-main, gt-shapefile and so on). There is actually no such thing as jts version 2.5.5. The JTS project's latest stable release, in their own version numbering system, is 1.10. Another tip for using maven is that you shouldn't bother specifying a dependency in your pom.xml unless you really need to. Maven does something called transitive dependency tracking. This means that when you add module X to your pom as a dependency, any other modules (=jars = artifacts) that module X needs will be pulled in to your project automagically. This will be the case for JTS. If you look at the Libraries element in the Project window in Netbeans you will see that your project is using many more jars than you have specified explicitly in your pom. It's good practice to let maven do the work for you. That way, when GeoTools is updated to use a newer version of some project's jar, such as JTS, this change will feed through to your own app without you needing to edit your pom. Michael ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users