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

Duplicate classes with Java 6 and batik-ext.jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG DOM
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      I am using Batik with Java 6. I have to use the batik-ext.jar because some of the classes in the library are used by some batik classes (like KeyboardEvent). Other classes of the batik-ext.jar are already part of the Java 6 Runtime (like EventTarget).

      So on runtime, there are conflicts between dublicate classes.

      My workaround: I opened the batik-ext.jar and deleted all duplicate files.

      If you have a better solution to solve my problem, please say it to me.

      PS: It was not so easy to recognize that the reported exception was a result of the descripted problem.

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              schade@drehpunkt.de Andre
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: