[jira] [Commented] (FOP-3059) Open JDK 11 with FOP fail on transform to PDF
"Joao Goncalves (Jira)" <[email protected]> Wed, 4 Mar 2026 22:50:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.fop.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/FOP-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063052#comment-18063052 ]
Joao Goncalves commented on FOP-3059:
-------------------------------------
[~yakirgoaron] is this still an issue?
> Open JDK 11 with FOP fail on transform to PDF
> ---------------------------------------------
>
> Key: FOP-3059
> URL: https://issues.apache.org/jira/browse/FOP-3059
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.4, 2.6
> Reporter: Yakir Goaron
> Priority: Critical
>
> When using FOP with SAX factory on open JDK 11 there is an error when calling the transform from java code.
> The following error shows :
> Class org.apache.fop.fo.FOTreeBuilder does not implement the requested interface org.xml.sax.ContentHandler
> Although the FOTreeBuilder implement the interface it seems that due too the java version it is incompatible.
> For now I have tried with FOP 2.4 and FOP 2.6 .
>
> Another update even without using SAX but just using Xalan and FOP 2.4 I am getting the same error of :
> Line #169; Column #172; java.lang.IncompatibleClassChangeError: Class org.apache.fop.fo.FOTreeBuilder does not implement the requested interface org.xml.sax.ContentHandler
> In the line in my xsl I invoke some java code that was customize by me with the jar file on the same location when I call the FOP
--
This message was sent by Atlassian Jira
(v8.20.10#820010)