Jason Harrop created FOP-3223:
---------------------------------

             Summary: 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


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)

Reply via email to