How to resolve a maven dependency with a name that is not compliant with the java 9 module system? [duplicate]
问题 This question already has an answer here : Unable to derive module descriptor for auto generated module names in Java 9? (1 answer) Closed 2 years ago . I am trying to build a demo project in java 9 with maven that uses the dependency: <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-mllib_2.10</artifactId> <version>2.2.0</version> </dependency> However when I run the jar tool to determine the automatic module name to use in my project's module-info.java I get the following