title: package x is declared in the unnamed module, but module x does not read it
body: <p>I want to migrate to Java 11 and JFX11 using netbeans.  JFX11 must be used as module, so I have added the JavaFX jars and added the following in my module-info.java under the default package folder.</p>
  <pre><code>requires javafx.controls;
  requires javafx.base;
  requires javafx.fxml;
  requires javafx.graphics;
  requires javafx.swing;
  
  requires java.logging;
  requires java.desktop;
  requires java.sql;
  requires java.xml;
  </code></pre>
  <p>This causes all of my other dependencies to display the following errors when I try a clean and build in netbeans 9.</p>
  <pre><code>pacakges 'xyz' is not visible ... (package 'xyz' is declared in the unnamed 
      module, but module 'xyz' does not read it)
  </code></pre>
  <p>Can I not mix modules and libraries? What am I missing?</p>