Skip to content

package not in module graph #427

@DavidEgeaJimenez

Description

@DavidEgeaJimenez

I'm trying to do make an app to let me count the pages of each chapter of a book. The only problem my code is in the import part.

Image

It gives me the following error in the three imports:
"package <package_name> is not visible (package <package_name> is declared in module odfdom.java, which is not in the module graph."

Image

My module graph is this one:

Image

I have the same module path in Compile, Processor, Run, Compile Tests and Run Tests. I'm using Apache Netbeans IDE 27. My main java platform is JDK 24, but I installed JDK 11 for this single project. I'm also using a project of Java with Ant.

Image

I've been breaking my head with this all evening, I'm new installing external libraries and changing the properties of my projects, I would happily accept some help, thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions