[geotk] Problem with org.geoapi

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Wed May 18 04:21:47 EDT 2011


I have never seen such errors before... Which Java compiler (implementor, 
version...) is used by Scala?

     Martin


Le 18/05/11 05:40, Brian Schlining a écrit :
> I'm trying to build a Scala project using GeoTK 3.17 and geoapi 2.3-RC1. When I run the compiler I get the following errors:
>
> [ERROR] error: error while loading Obligation, class file '/Users/brian/.m2/repository/org/opengis/geoapi/2.3-RC1/geoapi-2.3-RC1.jar(org/opengis/annotation/Obligation.class)' is broken
> [INFO] (bad constant pool index: 25856 at pos: 950)
> [ERROR] error: error while loading ReferenceSystem, class file '/Users/brian/.m2/repository/org/opengis/geoapi/2.3-RC1/geoapi-2.3-RC1.jar(org/opengis/referencing/ReferenceSystem.class)' is broken
> [INFO] (bad constant pool index: 25856 at pos: 716)
> [ERROR] error: error while loading IdentifiedObject, class file '/Users/brian/.m2/repository/org/opengis/geoapi/2.3-RC1/geoapi-2.3-RC1.jar(org/opengis/referencing/IdentifiedObject.class)' is broken
> [INFO] (bad constant pool index: 25856 at pos: 1025)
> [ERROR] error: error while loading DirectPosition, class file '/Users/brian/.m2/repository/org/opengis/geoapi/2.3-RC1/geoapi-2.3-RC1.jar(org/opengis/geometry/DirectPosition.class)' is broken
> [INFO] (bad constant pool index: 25856 at pos: 799)
> [ERROR] error: error while loading SingleCRS, class file '/Users/brian/.m2/repository/org/opengis/geoapi/2.3-RC1/geoapi-2.3-RC1.jar(org/opengis/referencing/crs/SingleCRS.class)' is broken
> [INFO] (bad constant pool index: 25856 at pos: 596)
>
> I deleted the offending jars from my local maven repo, then I checked out the geoapi source, recompiled it and tried to build with the jars I compiled myself and I still get the same errors. Is anyone else running into the same problem?


More information about the Geotoolkit mailing list