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

Maven org.apache.xmlgraphics:batik-ext:1.8 missing org.w3c.dom.ElementTraversal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 1.8
    • None
    • None
    • None

    Description

      I am trying to use batik 1.8 with Gradle. I used this dependency:
      compile 'org.apache.xmlgraphics:batik-rasterizer:1.8'
      and when I run the sample code, I get:
      ClassNotFoundException: org.w3c.dom.ElementTraversal .

      I downloaded the source code of batik-1.8 and the missing class is part of the official source code.

      I compiled the libraries with "ant maven-artifacts" and checked all the jar files to see which one got that org.w3c.dom package.
      I found it in batik-ext-1.8 .

      This jar is being downloaded by Gradle, but there is only a Manifest directory there ; not classes.
      See http://central.maven.org/maven2/org/apache/xmlgraphics/batik-ext/1.8/batik-ext-1.8.jar

      So the jar was not correctly built when pushed to maven.

      Attachments

        Activity

          People

            Unassigned Unassigned
            simon.levesque Simon Levesque
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: