You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Chris Bowditch (Jira)" <ji...@apache.org> on 2020/01/13 15:13:00 UTC

[jira] [Assigned] (FOP-1789) [PATCH] java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor

     [ https://issues.apache.org/jira/browse/FOP-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Bowditch reassigned FOP-1789:
-----------------------------------

    Assignee: Chris Bowditch

> [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
>         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)