[ https://issues.apache.org/jira/browse/FOP-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Bowditch updated FOP-1789: -------------------------------- Affects Version/s: 2.4 > [PATCH] java.lang.NoClassDefFoundError: > org/apache/batik/util/XMLResourceDescriptor > ----------------------------------------------------------------------------------- > > Key: FOP-1789 > URL: https://issues.apache.org/jira/browse/FOP-1789 > Project: FOP > Issue Type: Bug > Components: foreign/svg > Affects Versions: 0.95, 2.4 > Environment: Operating System: All > Platform: All > Reporter: Yannick Majoros > Assignee: Chris Bowditch > Attachments: fop.patch > > > While starting fop without batik jar, this error is shown in the logs: > Error while initializing the Batik SVG extensions > java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor > at > org.apache.fop.fo.extensions.svg.SVGElementMapping.initialize(SVGElementMapping.java:80) > > (+long stack trace) > This is a warning, but is confusing some developers of my team. A quick check > on the web shows many people are confused with this. > This is not consistent with what other extensions do. > If the only consequence is that batik is disabled, the complete stack trace > should not be shown. A warning is enough, and debug info with complete stack > trace should be made available. > This quick patch fixes that. -- This message was sent by Atlassian Jira (v8.3.4#803005)