title: Java 10 Eclipse + Maven "java.lang.module.FindException: Module myproject not found"
body: <p>I have created a new Java 10 project in Eclipse 4.7.3a</p>
  
  <p>This is a maven project with some dependencies. </p>
  
  <p>The project is called "MyProject" and below is my module-info.java</p>
  
  <pre><code>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;
  }
  </code></pre>
  
  <p>when I run the project I get the following</p>
  
  <pre><code>Error occurred during initialization of boot layer
  java.lang.module.FindException: Module myproject not found
  </code></pre>
  
  <p>What am I doing wrong here?</p>