Summary
Automatic module name was broken by name "org.mongodb.mongodb-driver-kotlin-coroutine", this violates the convention of [package naming|https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html]
Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).
MongoDb driver kotlin coroutine 4.11.0
How to Reproduce
Use in any projects with modules or project Gradle Minecraft 1.19.2 with Forge 43.2.21.
Additional Background
I create a Pull Request in official Github with fix this problem.
Stacktrace:
Exception in thread "main" java.lang.IllegalArgumentException: org.mongodb.mongodb-driver-kotlin-coroutine: Invalid module name: 'mongodb-driver-kotlin-coroutine' is not a Java identifier at java.base/jdk.internal.module.Checks.requireModuleName(Checks.java:59) at java.base/java.lang.module.ModuleDescriptor$Builder.<init>(ModuleDescriptor.java:1515) at java.base/java.lang.module.ModuleDescriptor.newAutomaticModule(ModuleDescriptor.java:2395)
Screenshot: