Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1789

java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 0.95, 2.4
    • None
    • foreign/svg
    • None
    • Operating System: All
      Platform: All
    • 48975

    Description

      While starting fop without batik jar, this error is shown in the logs:

      Error while initializing the Batik SVG extensions
      java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor
      at org.apache.fop.fo.extensions.svg.SVGElementMapping.initialize(SVGElementMapping.java:80)
      (+long stack trace)

      This is a warning, but is confusing some developers of my team. A quick check on the web shows many people are confused with this.

      This is not consistent with what other extensions do.

      If the only consequence is that batik is disabled, the complete stack trace should not be shown. A warning is enough, and debug info with complete stack trace should be made available.

      This quick patch fixes that.

      Attachments

        1. fop.patch
          0.9 kB
          Yannick Majoros

        Activity

          People

            cbowditch Chris Bowditch
            yannick.majoros@gmail.com Yannick Majoros
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: