Q: eclipse.persistence.jpa.modelgen : Invalid module name: '2' is not a Java identifier I was working on a project for school with Mockito, JPA and JavaFX. Everything worked until I added the module-info.java into my IntelliJ. We needed to make an Eclipse project first for the school, but I code in IntelliJ. I'm wondering what the problem could be. I'm searching all night but didn't find anything that could help.
Info and files:
Error message:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\usr\mylibrary2020\jpa\org.eclipse.persistence.jpa.modelgen_2.7.5.v20191016-ea124dd158.jar
Caused by: java.lang.IllegalArgumentException: org.eclipse.persistence.jpa.modelgen.2.7.5.v20191016.ea124dd158: Invalid module name: '2' is not a Java identifier

module-info.java:
module Project.Java {
    requires javafx.controls;
    requires javafx.graphics;
    requires javafx.base;
    requires javafx.fxml;

    requires org.junit.jupiter.api;
    requires org.mockito;
    requires mockito.junit.jupiter;
    requires org.junit.jupiter.params;

    requires java.persistence;

    opens start to javafx.graphics, javafx.fxml;
    opens gui to javafx.graphics, javafx.fxml;
}

dependencies project
eclipselink sources
