使用此GWT Plugin在 Firefox(版本 21)上运行 GWT devmode 时,我总是在下面收到此错误。
错误:
[INFO] WARN [EnvUtil] enable reachability analysis with -Derrai.compile.perf.perform_reachability_analysis=true
[INFO] INFO [IOCBootstrapGenerator] generated IOC bootstrapping class in 6499ms (5174 beans processed)
[INFO] INFO [IOCBootstrapGenerator] using IOC bootstrapping code at: D:\magick\app.ui\.errai\BootstrapperImpl.java
[ERROR] java.lang.RuntimeException: Deferred binding failed for 'org.jboss.errai.ioc.client.Bootstrapper' (did you forget to inherit a required module?)
[ERROR] at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
[ERROR] at com.google.gwt.core.client.GWT.create(GWT.java:97)
[ERROR] at org.jboss.errai.ioc.client.Container.bootstrapContainer(Container.java:55)
[ERROR] at org.jboss.errai.ioc.client.Container.onModuleLoad(Container.java:34)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERROR] at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
[ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
[ERROR] at java.lang.Thread.run(Thread.java:722)
[ERROR] Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[ERROR] at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503)
[ERROR] at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
[ERROR] ... 12 more
但是,在使用 Google Chrome 时,我在同一个 GWT 应用程序中没有收到此错误。
可能是什么问题呢?我错过了什么?我正在使用 GWT Maven 插件:
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>