Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2719

Java 9: Requiring tika-parsers from module-info.java fails with "module not found"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.18
    • None
    • parser

    Description

      When requiring `tika.parsers` from a Java 9 `module-info.java`, Maven throws an error about not being able to find `tika.parsers`:

       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project annot8-components-tika: Compilation failure
      [ERROR] /home/bakerj/annot8/annot8-components/annot8-components-tika/src/main/java/module-info.java:[9,16] module not found: tika.parsers

       

      It looks like this is likely to be a similar issue to: https://github.com/elastic/elasticsearch/issues/28984

      For an example of a failing project, see: https://github.com/annot8/annot8-components/tree/tika

      Attachments

        Activity

          People

            Unassigned Unassigned
            james.d.baker James Baker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: