I'm working on a Java project with Maven, and I need the Weka 3.8.5 dependency.
That's why I added in my pom:
<dependency>
<groupId>nz.ac.waikato.cms.weka</groupId>
<artifactId>weka-stable</artifactId>
<version>3.8.5</version>
</dependency>
When I try to run, I get the following:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for /home/user/.m2/repository/com/github/vbmacher/java-cup/11b-20160615/java-cup-11b-20160615.jar
Caused by: java.lang.IllegalArgumentException: java.cup.11b: Invalid module name: '11b' is not a Java identifier
I found that the problems are due to "-" char, which is not a java char. I'm currently using a module-info.java file.
Is there a way to use this dependency?
Edit:
As Mark said in comment, it works removing the module-info.java file. In order to learn something, can anyone explain me why this solution works?