Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.1.M5
    • Fix Version/s: 2.1.RC1, 15.1
    • Component/s: referencing
    • Labels:
      None

      Description

      The CRS framework should not have any JAI (Java Advanced Imaging) dependency. However, the following exception has been reported:

      java.lang.NoClassDefFoundError: javax/media/jai/WarpAffine
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Unknown Source)
              at sun.misc.Service$LazyIterator.next(Unknown Source)
              at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:420)
              at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:114)
              at org.geotools.referencing.operation.MathTransformFactory.getProvider(MathTransformFactory.java:255)
      

      This is probably caused by the following MathTransform provider, registered in META-INF/services/org.geotools.referencing.operation.MathTransformProvider

          org.geotools.referencing.operation.transform.WarpTransform2D$Provider
      

      Just removing the above line from the META-INF/services/

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                jody.garnett Jody Garnett [Administrator]
                Reporter:
                harrison.grundy codehaus (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: