title: PlayN/GWT - did you forget to inherit a required module?
body: <p>I'm having a weird problem when I try to compile my game in HTML. (I searched the other topics and they refer to people who are importing illegal packages, which I'm not.)</p>
  
  <p>So basically, every class called in my main one and outside of my main package throw me this error. These classes are all implemented by me and they dont import anything illegal (no reflection, no I/O, just selfmade classes and jbox2d). It seems like it's ignoring the import or something like that.</p>
  
  <p>To test this, I created an empty class called Test. when it was in my main package I didn't get any error, while when I moved it outside, I got:</p>
  
  <blockquote>
    <p>[INFO]       [ERROR] Line 73: No source code is available for type progetto.saga.map.Test ; did you forget to inherit a required module?</p>
  </blockquote>
  
  <p>at line 73, I just do <code>Test test = new Test()</code></p>
  
  <p>this is my .gwt.xml file:</p>
  
  <pre><code>&lt;module rename-to='theknowledgetower'&gt;
    &lt;inherits name='playn.PlayN'/&gt;
    &lt;inherits name='TheKnowledgeTowersAssets'/&gt;
  
    &lt;source path='core'/&gt;
    &lt;source path='html'/&gt;
  
    &lt;public path="resources" /&gt;
  
    &lt;entry-point class='progetto.saga.html.TheKnowledgeTowersHtml'/&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>do you guys have any idea?</p>
  
  <p>Edit: this is the error I get (I get it for every custom class in my main class outside of my main package)</p>
  
  <pre><code>[INFO]       [ERROR] Line 53: No source code is available for type progetto.saga.navigable.Navigable; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 59: No source code is available for type progetto.saga.entity.dynamicentity.Player; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 110: No source code is available for type progetto.saga.navigable.button.Button; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 114: No source code is available for type progetto.saga.navigable.menu.HomeMenu; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 115: No source code is available for type progetto.saga.navigable.GameLoop; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 116: No source code is available for type progetto.saga.navigable.menu.CreationMenu; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 117: No source code is available for type progetto.saga.navigable.LoadingScreen; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 152: No source code is available for type progetto.saga.navigable.menu.GameMenu; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 153: No source code is available for type progetto.saga.map.cell.TowerFloor; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 154: No source code is available for type progetto.saga.map.cell.TowerWall; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 155: No source code is available for type progetto.saga.map.cell.TowerDecoration; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 156: No source code is available for type progetto.saga.entity.dynamicentity.enemy.Enemy; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 157: No source code is available for type progetto.saga.gui.Bar; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 158: No source code is available for type progetto.saga.entity.dynamicentity.equip.Equip; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 159: No source code is available for type progetto.saga.entity.dynamicentity.equip.Shield; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 160: No source code is available for type progetto.saga.entity.dynamicentity.spell.Spell; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 161: No source code is available for type progetto.saga.entity.staticentity.StorableDrop; did you forget to inherit a required module?
  [INFO]       [ERROR] Line 162: No source code is available for type progetto.saga.entity.staticentity.Item; did you forget to inherit a required module?
  </code></pre>