运行我的 GWT/Errai 应用程序时,我收到以下错误消息:
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:722) Caused by: java.lang.AssertionError: This UIObject's element is not set; 您可能在 org.jboss.errai.ui 的 com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java:527) 上错过了对 Composite.initWidget() 或 UIObject.setElement() 的调用.shared.TemplateUtil.compositeComponentReplace(TemplateUtil.java:61) at org.jboss.errai.ioc.client.BootstrapperImpl$65$1.init(BootstrapperImpl.java:1623) at org.jboss.errai.ioc.client.BootstrapperImpl$65$1 .init(BootstrapperImpl.java:1) 在 org.jboss.errai.ioc.client.container.CreationalContext.resolveAllProxies(CreationalContext.java:
我已经完成了mvn clean compile package gwt:run