Apache FOP 2.2 migration error - ClassNotFoundException: org.apache.batik.i18n.Localizable
After switching to Apache FOP 2.2, an error appeared:
ClassNotFoundException: org.apache.batik.i18n.Localizable
The reason is that it fop 2.2
uses batik-util-1.9
. And the package i18n
provided in batik-util-1.8
is removed in version 1.9
but required. For fixing one can just use batik-util-1.8
(for example specify in pom.xml) or just add package i18n
to 1.9
jar version and also class org.apache.batik.util.XmlConstants
.
source to share