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. > cheers > Michael > > 2008/7/3 Michael Bedward <[EMAIL PROTECTED]>: > >> Dear all, >> >> I can no longer compile the referencing module with java 1.5 on mac >> osx and I can't quite work out what the problem is. >> I'm getting this when I do mvn -e compile: >> >> Failure executing javac, but could not parse the error: >> An exception has occurred in the compiler (1.5.0_13). Please file a >> bug at the Java Developer Connection >> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade >> for duplicates. Include your program and the following diagnostic in >> your report. Thank you. >> com.sun.tools.javac.code.Symbol$CompletionFailure: file >> javax/xml/bind/annotation/XmlType.class not found >> >> I was able to build it ok a couple of weeks ago. I've had a quick >> skim over the svn logs but nothing sticks out and without knowing >> which source file is causing the problem I'm not sure what I'm looking >> for. >> >> I'd appreciate any suggestions. >> >> cheers >> Michael >> >> > > ------------------------------------------------------------------------- > 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 > > > ------------------------------------------------------------------------- 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
