Excellent !  Many thanks for that Cédric. I had already tried clean
install without success but clearing out the repository has solved the
problem.

cheers
Michael

2008/7/3 Cédric Briançon <[EMAIL PROTECTED]>:
> Hi Michael,
>
> Michael Bedward a écrit :
>>
>> ps. same prob with main/coverage, extension/openoffice,
>> plugin/epsg-hsql, geotiff and wms
>>
>> is there any obvious common change / addition amongst these modules ?
>>
>>
>
> Have you build Geotools on a JDK6 previously ?
> This annotation is in fact present in the metadata module. It is a
> supposition, but if you have build previously the Geotools project with a
> JDK6, you have these annotation in your gt-metadata-2.5-SNAPSHOT jar. If so,
> trying to build referencing with such a jar in your classpath on a JDK5 can
> give you the kind of error you have pasted here.
>
> I can provide you these tips :
> - try to build the whole project again with your jdk5, using the command
> "mvn clean install", in order to ensure you have the metadata jar compiled
> with jdk5 (so no annotation in it).
> - if it does not work (I don't think so, since I build every day the whole
> project with a jdk5), try to delete the
> .m2/repository/org/geotools/gt-metadata directory, and do again a "mvn clean
> install".
>
> I hope these manipulations will solve your problem.
>
> By the way, there are no changes about the handling of annotation since a
> month, so you should be able to succeed in building Geotools.
>
> 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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to