検索してみましたが、独自のパッケージを GWT プロジェクトに追加する方法について定義された方法を思いつくことができませんでした。
私のツリー構造は次のようになります。
-com.mycompany
-public
MyApplication.html
MyApplication.gwt.xml
-com.mycompany.client
MyApp.java
-com.mycompany.gui
TableLayout.java
私が見た答えは、次のように、gwt.xml ファイルのルート ディレクトリに関連するパッケージを追加することを示しています。
<module>
<inherits name="com.google.gwt.user.User" />
<entry-point class="com.mycompany.client.MyApp" />
<source path="client" />
<source path="gui" />
</module>
次に、不平を言います:
Unable to find type 'com.technicon.client.MyApp'
Hint: Previous compiler errors may have made this type unavailable
Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
誰かが私が間違っていることと、これを修正する方法を教えてもらえますか?