GWT + NetBeansフレームワークを更新しようとしています.GWT 2.7をインストールしています。 私が最初に試したのは、GWT4NBウィザードで作成したサンプルアプリケーションを実行することでした。
これは簡単ではありません。 OKをコンパイルしますが、プロジェクトを実行すると、どのブラウザでもWebページが空になります。
同じプロジェクトがGWT 2.5を使用して完全に機能します。
ブラウザのデバッガを実行して、私は次のエラーを取得:GWT 2.7はJava 1.8、NetBeansの8.0.2、Ubuntuの14から64HelloGWTがGWT 2.7で動作していない+ NB
を:
ロードは、私が使用していますhttp://localhost:8080/WebApplication1/org.yournamehere.Main/org.yournamehere.Main.nocache.js
源とするために失敗しましたwelcomeGWT.htmlが作成:
<html>
<head>
<meta name='gwt:module' content='org.yournamehere.Main=org.yournamehere.Main'>
<title>Main</title>
<script type="text/javascript" src="org.yournamehere.Main/org.yournamehere.Main.nocache.js"></script>
</head>
<body>
<iframe src="javascript:''" id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>
</body>
Main.gwt.xml:
<module>
<inherits name="com.google.gwt.user.User"/>
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> -->
<!-- <inherits name="com.google.gwt.user.theme.chrome.Chrome"/> -->
<!-- <inherits name="com.google.gwt.user.theme.dark.Dark"/> -->
<entry-point class="org.yournamehere.client.MainEntryPoint"/>
<!-- Do not define servlets here, use web.xml -->
任意のアイデア?
ご意見ありがとうございます。確かに、私は現在Mavenを調べています(私はGWT4NBだけでそれについての経験はありません)。しかし、私はこれがうまくいくと思います!おそらく紛争の問題かもしれません.... – dummyhead
オイイ@ダミーヘッド..計画のように聞こえます。 –