0

Java EE に Eclipse Indigo を使用しています (そして m2e プラグインをインストールしました)。

GWT 2.4 で提供される「expense」サンプルを起動すると、ランタイム エラーが発生します。私はそれを起動し、アプリをロードしてからインターフェイスを描画し、コンソールの後に次のエラーを出します:

Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Successfully processed D:\DL\000-code2012\0-ALL-SRC\6-Expenses\src\main\webapp\WEB-INF/appengine-web.xml
Successfully processed D:\DL\000-code2012\0-ALL-SRC\6-Expenses\src\main\webapp\WEB-INF/web.xml
The server is running at http://localhost:8888/
log4j:WARN No appenders could be found for logger (org.hibernate.validator.util.Version).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Sat May 05 12:03:40 BOT 2012 com.google.gwt.sample.expenses.client.ExpensesShell
SEVERE: One or more exceptions caught, see full set in UmbrellaException#getCauses
com.google.web.bindery.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
    at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$StandardPayloadDialect.processPayload(AbstractRequestContext.java:299)
    at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:951)
    at com.google.web.bindery.requestfactory.gwt.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.java:136)
etc......
  • まず、プロジェクトを正常にコンパイルするには、POM.xml の 2 つのエラーをすばやく修正する必要がありました (2 つのリポジトリからファイルをダウンロードすることは不可能だったので、それらを無視する必要がありました)。
  • 次に、Maven 用の「buildhelper」プラグインがないことが原因である場合は、それが見つかりません (Maven > Discovery > Catalog で試しました)...
  • また、アノテーション処理用の Java コンパイラーを正しく構成しました (おそらく)。
  • 最後に、プロジェクトをクリーンアップまたはコンパイルすると、次のエラーが発生します (問題が発生しました)。

プログラム "C:\glassfish3\jdk7\bin\javaw.exe" (ディレクトリ "D:\DL\000-code2012\0-ALL-SRC\6-Expenses" 内) を実行できません: CreateProcess エラー = 206、ファイル名または拡張子長すぎるプログラム「C:\glassfish3\jdk7\bin\javaw.exe」を実行できません (ディレクトリ「D:\DL\000-code2012\0-ALL-SRC\6-Expenses」内): CreateProcess エラー = 206、ファイル名または延長が長すぎる

「詳細」をクリックすると二重に書かれています

誰かがこの問題の解決策を持っていますか? ありがとうございました。

4

0 に答える 0