Skip to content

With "org.apache.poi" in my project, there is always "module not found" error occured #399

Closed
@payfish

Description

@payfish

I'm submitting a…

  • bug report
  • feature request
  • other

Well i import this org.apache.poi dependency to my project to export a word file.

    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>5.2.3</version>
    </dependency>

But it comes to an error when i was packaging the proj, i try to import the module which was not founded, but it always comes out another "module not found" error.

[ERROR]  Exception in thread "main" java.lang.module.FindException: Module commons.math3 not found, required by org.apache.poi.poi

I guess there is a conflict between "org.apache.poi" and JavaPackager because when i deleted the dependency, the Packager works correctly.

Please tell us about your environment:

  • JavaPackager version:1.7.5
  • OS version:Windows11
  • JDK version:17.0.9
  • Build tool:
    • Maven
    • Gradle

Other information (e.g. related issues, suggestions how to fix, links for us to have context)

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsfixedIssue fixed and release pending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions