From: Cédric B. <ced...@ge...> - 2008-07-07 14:26:18
|
Oliver Newell a écrit : > Thanks Cedric - Using an artifactId of 'gt-referencing' instead of > 'gt2-referencing' did the trick! > > One thing - I did notice that the artifacts for the SNAPSHOT version are > inaccessible via Maven. If I try manually using a brower I > get a FORBIDDEN error for the Jar file below: > > > http://maven.geotools.fr/repository/org/geotools/gt-referencing/2.5-SNAPSHOT/gt-referencing-2.5-SNAPSHOT.jar > > You're right ! It is a problem of permissions on our side, I've just fixed it on the server. You can now use the SNAPSHOT version again. Thanks a lot for reporting me this problem. Cheers, Cédric. > I switched to the 2.5-M2 version in place of the SNAPSHOT, and > everything worked just fine. > > Thanks again! > > -Oliver > > > -------------------------------------------------------------------------------------------------------------------------- > > In fact, this dependency is incorrect. The artifactId moved one or two > months ago, with the gt2- prefix removal. > The correct dependency you should have is > <artifactId>gt-referencing</artifactId> > You have to fix this dependency on your project. > > gt2-referencing can still be on repositories, but it is a version old of > at least 2 months. That's why if you try to use it, you will probably > get some errors like your NoSuchMethodError. > So if you work on trunk try to update your Geotools project and build it > again with the command "mvn clean install -U". It should take the latest > version of GeoAPI. > > By the way, javax/units/Unit is no more used, it is a JSR108 classes, > and we have moved to JSR275, so if your project depends on JSR108, you > should update the dependency to JSR275, like this : > <dependency> > <groupId>net.java.dev.jsr-275</groupId> > <artifactId>jsr-275</artifactId> > <version>1.0-beta-2</version> > </dependency> > > Cheers, > C?dric > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > |