NoSuchMethodError on PixelOrientation.valueOf()
-----------------------------------------------

                 Key: GEOT-3777
                 URL: https://jira.codehaus.org/browse/GEOT-3777
             Project: GeoTools
          Issue Type: Bug
          Components: opengis
    Affects Versions: 2.7.2
         Environment: Linux 2.6.32, javac 1.6.0_26
            Reporter: Kurt True
            Priority: Blocker
             Fix For: 2.7.2


My .java says

 ...

  import org.opengis.util.CodeList;
  import org.opengis.metadata.spatial.PixelOrientation;

 ...
  
  MrSIDReader = new MrSIDReader(file);

  ...

javac says 

Exception in thread "main" java.lang.NoSuchMethodError: 
org.opengis.metadata.spatial.PixelOrientation.valueOf(Ljava/lang/Class;Ljava/lang/String;)Lorg/opengis/util/CodeList;
at 
org.opengis.metadata.spatial.PixelOrientation.valueOf(PixelOrientation.java:122)
at 
org.geotools.metadata.iso.spatial.PixelTranslation.<init>(PixelTranslation.java:113)
at 
org.geotools.metadata.iso.spatial.PixelTranslation.<clinit>(PixelTranslation.java:87)
at 
org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.parseCommonMetadata(BaseGDALGridCoverage2DReader.java:229)
at 
org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.setCoverageProperties(BaseGDALGridCoverage2DReader.java:102)
at 
org.geotools.coverageio.gdal.mrsid.MrSIDReader.setCoverageProperties(MrSIDReader.java:98)
at 
org.geotools.coverageio.BaseGridCoverage2DReader.<init>(BaseGridCoverage2DReader.java:170)
at 
org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.<init>(BaseGDALGridCoverage2DReader.java:81)
at org.geotools.coverageio.gdal.mrsid.MrSIDReader.<init>(MrSIDReader.java:76)
at org.geotools.coverageio.gdal.mrsid.MrSIDReader.<init>(MrSIDReader.java:60)
at MrSidfileModuleCopy.main(MrSidfileModuleCopy.java:46)



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to