java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent

docx4java.org | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OpenXML Batik dependency ? log4j dependency ? : docx4j Java forum

    docx4java.org | 7 months ago
    java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/batik/bridge/UserAgent

      at org.apache.fop.image.loader.batik.PreloaderSVG.preloadImage()
    2. Apache FOP
      PreloaderSVG.preloadImage
      1. org.apache.fop.image.loader.batik.PreloaderSVG.preloadImage(PreloaderSVG.java:69)[fop-patched-0.95.756436.jar:na]
      1 frame
    3. Apache XML Graphics Commons
      ImageManager.getImageInfo
      1. org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:165)[xmlgraphics-commons-1.3.757686.jar:1.4svn]
      2. org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:96)[xmlgraphics-commons-1.3.757686.jar:1.4svn]
      3. org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:112)[xmlgraphics-commons-1.3.757686.jar:1.4svn]
      3 frames
    4. docx4j
      BinaryPartAbstractImage.createImagePart
      1. org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage.getImageInfo(BinaryPartAbstractImage.java:476)[docx4j-2.2.2.jar:na]
      2. org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage.createImagePart(BinaryPartAbstractImage.java:188)[docx4j-2.2.2.jar:na]
      3. org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage.createImagePart(BinaryPartAbstractImage.java:152)[docx4j-2.2.2.jar:na]
      3 frames