I work on mac osx 10.5.4 with the standard installation java 1.5 I've had that error a couple of times recently. It's a stunningly uninformative message isn't it :) Cedric helped me track down the cause. It happens when a java 6 compiled artifact somehow ends up in the classpath. Cleaning out the repository and running maven again fixes it
Hope this helps Michael 2008/8/8 Justin Deoliveira <[EMAIL PROTECTED]>: > Hi all, > > So it seems now i can not build geotools trunk at all. I used to get > this same error when trying to build with tests, but that was easy to > get around. I brought this up before with no response. > > So I am wondering: > > 1) if anyone on a mac sees this same issue > 2) if anyone cares that we cant build on mac > > Here is the error i get: > > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Referencing services > [INFO] task-segment: [clean, install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [clean:clean] > [INFO] Deleting directory > /Users/jdeolive/devel/geotools/trunk/modules/library/referencing/target > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 272 source files to > /Users/jdeolive/devel/geotools/trunk/modules/library/referencing/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > 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 > > > > 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 > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 54 seconds > [INFO] Finished at: Thu Aug 07 09:44:37 PDT 2008 > [INFO] Final Memory: 38M/63M > [INFO] > ------------------------------------------------------------------------ > > -Justin > > -- > Justin Deoliveira > The Open Planning Project > [EMAIL PROTECTED] > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
