MavenでGWTアプリケーションを構築しています。私のアプリケーションでは、標準UIの代わりにカスタムUIフォームを使用しています。私は.jar
ファイルにパックされたカスタムUIフォームを持つファイルを持っています。プロジェクトのソースやリソースにクラスが見つかりませんGWT
マイ.ui.xml
ファイルがこれを持っている:
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:nc='custompackage.gwt.fields.client.widgets.reference'
>
...
<nc:UIReferenceField width="100%" text = "123" nc:field="rf"/>
...
マイモジュール.gwt.xml
ファイルには、カスタムクラスを継承します
...
<inherits name="custompackage.gwt.fields.Fields"/>
...
私はMavenのモジュールをビルドするときに私が得る:
Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.0:compile (default) on project geographical-view-for-osp-gwt-2: GWT Module com.netcracker.platform.ui.toolkit.gwt.i18n.i18n not found in project sources or resources.
私は同様の問題の質問に目を通しましたが、その解決策はまったく役に立たなかった。手伝って頂けますか?
P .:モジュールがカスタムフィールドなしで正常に構築されます。
'custompackage.gwt.fields.Fields.gwt.xml'ファイルを投稿してください。そのファイルは '.jar'に入っていますか?その.jarの[ソースアーティファクト](https://maven.apache.org/plugins/maven-source-plugin)を提供していますか? – mam10eks