I have created a new Java 10 project in Eclipse 4.7.3a
This is a maven project with some dependencies.
The project is called "MyProject" and below is my module-info.java
module myproject {
exports myproject;
requires commons.logging;
requires htmlunit;
requires htmlunit.cssparser;
requires java.logging;
requires java.xml;
requires selenium.api;
requires selenium.firefox.driver;
requires selenium.remote.driver;
}
when I run the project I get the following
Error occurred during initialization of boot layer
java.lang.module.FindException: Module myproject not found
What am I doing wrong here?