title: Wildfly 15 and higher : class name clashes with package name
body: <p>I'm having this structure in one of the external jars in the lib directory of WEB-INF inside a deployed war file :</p>
  <pre><code>jar
   |
    MyPackage
   |
    MyPackage.class
   |
  </code></pre>
  <p>So, the class name also exists as a package name resulting in a compilation error when I invoke the class.</p>
  <p>This error does not occur in Wildfly 11.
  Any suggestion to avoid this problem?</p>