[jira] [Resolved] (FOP-3223) JPMS config - InvalidModuleDescriptorException
"Simon Steiner (Jira)" <[email protected]>
| Newsgroups | gmane.text.xml.fop.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/FOP-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Steiner resolved FOP-3223.
--------------------------------
Fix Version/s: main
Resolution: Fixed
https://github.com/apache/xmlgraphics-fop/commit/2c676aef75eea7d5ba51359412e28289517a5d92
> JPMS config - InvalidModuleDescriptorException
> ----------------------------------------------
>
> Key: FOP-3223
> URL: https://issues.apache.org/jira/browse/FOP-3223
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.10
> Environment: Tried Eclipse 2022-06 (4.24.0) and 2024-06 (4.32.0)
> Reporter: Jason Harrop
> Assignee: Simon Steiner
> Priority: Major
> Fix For: main
>
>
> Trying to use FOP with the following module-info in Eclipse:
> requires org.apache.xmlgraphics.fop.core;
> requires org.apache.xmlgraphics.fop.events;
> requires org.apache.xmlgraphics.fop.util;
> I'm getting the error
> {{{color:#232629}{color:#000000}Error occurred during initialization of boot layer{color}{color}}}
> {{java.lang.module.FindException: Unable to derive module descriptor for /home/jharrop/.m2/repository/org/apache/xmlgraphics/fop-core/2.10/fop-core-2.10.jar}}
> {{Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.fop.events.EventFormatter$LookupFieldPartFactory not in module}}
> And it isn't .. its in module fop-events: https://github.com/apache/xmlgraphics-fop/tree/fop-2_10/fop-events/src/main/java/org/apache/fop/events
> Is this supposed to be working in 2.10? Seems I'm not the only one having problems: [https://stackoverflow.com/questions/79141627/transform-simple-fo-file-to-pdf-using-fop-2-10-and-jpms]
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)