0

我正在使用 Eclipse Indigo for Java EE(并且我已经安装了 m2e 插件)。

启动 GWT 2.4 提供的“费用”示例时出现运行时错误。我启动它,加载应用程序,然后绘制界面并在控制台出现此错误后:

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