title: Package 'com.example' reads package 'javafx.beans' from both 'javafx.base' and 'javafx.base'
body: <p>In <code>module-info.java</code> i get the error </p>
  
  <blockquote>
    <p>Package 'com.example' reads package 'javafx.beans' from both 'javafx.base' and 'javafx.base'.</p>
  </blockquote>
  
  <p>Not only does the migration (Java 8 to Java 11) frustrate me slowly but surely, this error does not make any sense to me.</p>
  
  <p>The dependencies part fo my <code>build.gradle</code>:</p>
  
  <pre><code>def springFrameworkVersion = '5.1.2.RELEASE'
  def hibernateVersion = '5.3.7.Final'
  def junitJupiterVersion = '5.3.1'
  
  dependencies {
    compile 'org.transentials:cardhouse-commons:1.1.1'
    compile 'ch.qos.logback:logback-classic:1.2.3'
    compile "org.springframework:spring-context:$springFrameworkVersion"
    compile "org.springframework:spring-jdbc:$springFrameworkVersion"
    compile "org.springframework:spring-orm:$springFrameworkVersion"
    compile "org.hibernate:hibernate-core:$hibernateVersion"
    compile 'org.apache.commons:commons-dbcp2:2.5.0'
    compile 'org.apache.commons:commons-lang3:3.8.1'
    compile 'commons-io:commons-io:2.6'
    compile 'com.h2database:h2:1.4.197'
    compile 'javax.xml.bind:jaxb-api:2.3.1'
    compile 'com.google.guava:guava:27.0-jre'
    compile 'org.flywaydb:flyway-core:5.2.1'
    compile 'javax.validation:validation-api:2.0.1.Final'
    compile "org.openjfx:javafx-base:11:$platform"
    compile "org.openjfx:javafx-graphics:11:$platform"
    compile "org.openjfx:javafx-controls:11:$platform"
    compile "org.openjfx:javafx-fxml:11:$platform"
    testCompile 'junit:junit:4.12'
  
    testCompile 'org.mockito:mockito-core:2.+'
    testCompile 'de.saxsys:jfx-testrunner:1.2'
    testCompile 'org.apache.commons:commons-text:1.6'
    testCompile "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
    testCompile "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
    testCompile 'org.hamcrest:hamcrest-all:1.3'
  }
  </code></pre>
  
  <p>And the <code>module-info.java</code>:</p>
  
  <pre><code>module open.terms.client.jfx {
    requires org.transentials.cardhouse.commons;
    requires com.google.common;
    requires org.apache.commons.lang3;
    requires org.hibernate.orm.core;
    requires java.persistence;
    requires slf4j.api;
    requires javafx.graphics;
    requires javafx.fxml;
    requires java.desktop;
  }
  </code></pre>
  
  <p>Can someone explain to me what the compiler wants to tell me by this?</p>