Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Invalid module name when running with Java 10 #253

Open
johnnlima opened this issue Jul 17, 2018 · 0 comments
Open

Invalid module name when running with Java 10 #253

johnnlima opened this issue Jul 17, 2018 · 0 comments

Comments

@johnnlima
Copy link

When running with Java10 this happens:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for .../.m2/repository/com/github/mauricio/postgresql-async_2.12/0.2.21/postgresql-async_2.12-0.2.21.jar
Caused by: java.lang.IllegalArgumentException: postgresql.async.2.12: Invalid module name: '2' is not a Java identifier

Is possible to add module declarations (module.info.java) to your JARs or set the Automatic-Module-Name entry in your JAR's manifest?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant