Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1229

rasterizer misses xml-apis dependency

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.10
    • Fix Version/s: None
    • Component/s: SVG Rasterizer
    • Labels:
      None

      Description

      Since 1.10, the rasterizer misses a dependency on xml-apis:

      /usr/local/bin/batik-rasterizer src/image/favicon.svg -d build/favicon.png
      About to transcode 1 SVG file(s)
      
      Converting favicon.svg to build/favicon.png ... Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/batik/w3c/dom/ElementTraversal
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      

      This is very similar to this issue --> https://github.com/mkolisnyk/cucumber-reports/issues/63#issuecomment-185367974

      I've installed batik via homebrew on macOS. Previous versions 1.8 and 1.9 seemed to work just fine.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mwb Michiel W. Beijen
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: