title: Module is not in dependencies Intellij IDEA 2017.2.5 Java 9
body: <p>I just tested my java 9 module understanding in command line.
  Then I moved to Intellij IDEA 2017.2.5 to test it. There I am facing the error <code>module is not in dependencies</code> Don't know why intellij is showing the error.</p>
  
  <p>I just write required statements in <code>module-info.java</code> as <code>exports</code> and <code>requires</code>. </p>
  
  <p>Then I use Intellij intelligence to solve the error self by IDEA. Just ALT+ENTER then I click on <code>Add dependency on module 'module-name-here'</code>.
  But I don't know what Intellij doing behind the scene. Any idea about it?</p>