HTMLでゲームをコンパイルしようとすると、奇妙な問題が発生します。 (私は他のトピックを検索し、違法パッケージをインポートしている人を指しています)。PlayN/GWT - 必要なモジュールを継承するのを忘れましたか?
基本的に、私の主なパッケージで呼び出されるすべてのクラスは、私の主なパッケージの外にこのエラーを投げます。これらのクラスはすべて私によって実装されていて、何も違法なものをインポートすることはありません(リフレクションもI/Oもなく、selfmadeクラスとjbox2dのみ)。それは、それが何かを無視しているようです。
これをテストするために、Testという空のクラスを作成しました。私の主なパッケージに入っていたときにはエラーは出ませんでしたが、外に出たときには
[INFO] [ERROR] 73行目:progetto.sagaのソースコードはありません.map.Test;必要なモジュールを継承することを忘れましたか?ライン73で
、私はちょうどTest test = new Test()
を行い、これは私の.gwt.xmlファイルです:
<module rename-to='theknowledgetower'>
<inherits name='playn.PlayN'/>
<inherits name='TheKnowledgeTowersAssets'/>
<source path='core'/>
<source path='html'/>
<public path="resources" />
<entry-point class='progetto.saga.html.TheKnowledgeTowersHtml'/>
</module>
は君たちがどんな考えを持っていますか?
編集:これは私が取得エラー(私は私のメインのパッケージの外側に私のメインクラス内のすべてのカスタムクラスのためにそれを得る)
[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?
ありがとうございましたあなたの問題を修正しました:D – Epi
問題は何ですか[ここ](http://stackoverflow.com/questions/37365459/no-source-code-is-available-for-type-type) -did-you-forget-to-inherit-a-required)? – displayname