Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-3223

JPMS config - InvalidModuleDescriptorException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.10
    • None
    • None
    • None
    • Tried Eclipse 2022-06 (4.24.0) and 2024-06 (4.32.0)

    Description

      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

      Error occurred during initialization of boot layer
      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

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jharrop Jason Harrop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: