diff --git a/pom.xml b/pom.xml
index 4a9ef8e861..6c5785019a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,7 +113,7 @@
org.apache.xmlgraphics
batik-transcoder
- 1.7
+ 1.17
xerces
diff --git a/src/main/java/org/mapfish/print/PDFUtils.java b/src/main/java/org/mapfish/print/PDFUtils.java
index fb2752d918..2b3a1e98a7 100644
--- a/src/main/java/org/mapfish/print/PDFUtils.java
+++ b/src/main/java/org/mapfish/print/PDFUtils.java
@@ -41,12 +41,12 @@
import com.itextpdf.text.pdf.PdfTemplate;
import com.itextpdf.text.pdf.codec.Base64;
+import org.apache.batik.anim.dom.SAXSVGDocumentFactory;
import org.apache.batik.bridge.BridgeContext;
import org.apache.batik.bridge.DocumentLoader;
import org.apache.batik.bridge.GVTBuilder;
import org.apache.batik.bridge.UserAgent;
import org.apache.batik.bridge.UserAgentAdapter;
-import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
import org.apache.batik.dom.svg.SVGDocumentFactory;
import java.io.ByteArrayOutputStream;
import org.apache.batik.gvt.GraphicsNode;