0

当我尝试运行GWT 快速入门教程时,我收到了这个错误消息!

我该如何解决这个问题?

附言

  1. 我已经为 Firefox 1.23 安装了 GWT Developer 插件
  2. 我从 ubuntu 13.04 存储库(版本 3.8.1)安装了 eclipse
  3. 我已经 GWT 来自 ubuntu 13.04 存储库(版本 2.4.0)

00:27:29.230 [ERROR] [hellostupid] Failed to load module 'hellostupid' from user agent 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0' at localhost:40544

java.lang.NullPointerException: null
    at com.google.gwt.dev.javac.JsniChecker.getSuppressedWarnings(JsniChecker.java:565)
    at com.google.gwt.dev.javac.JsniChecker$JsniDeclChecker.visit(JsniChecker.java:135)
    at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1233)
    at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:679)
    at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java:615)
    at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java:559)
    at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:83)
    at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:251)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:464)
    at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:710)
    at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:235)
    at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:447)
    at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:370)
    at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:360)
    at com.google.gwt.dev.DevModeBase$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:110)
    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:197)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:724)
4

1 回答 1

0

我遇到了同样的问题,如果你遇到这个问题,你可以试试这个 -

1.[ERROR] [mysecondproj] - 无法初始化静态调度程序

2.[错误] [mysecondproj] - 无法从用户代理 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1712.2 Safari/537.36' at 127.0 加载模块 'mysecondproj' .0.1:63405

http://stackoverflow.com/questions/29411048/gwt-starting-sample-project
于 2016-10-24T10:10:55.903 回答