问题描述
我有一个GWT maven多模块项目。它可以很好地运行 关键点似乎是JSNI打破遍历的问题? 我试着调试过它,但我似乎无法追查任何东西。任何想法? 这是;现在,如果您使用元素,则必须使用。 I have a GWT maven multi module project. It runs fine with Key point appears to be something in JSNI breaking on traversal? I tried debugging it but I can't seem to track down anything. Any ideas? This is a known issue; for now you'll have to use SuperDevMode if you use Elemental. 这篇关于为GWT添加元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! mvn gwt:run
- 但是当我添加< inherits name ='elemental.Elemental'/> $ c
由java.util.ArrayList.rangeCheck引发:java.lang.IndexOutOfBoundsException:索引:13,大小:13
(ArrayList.java: 604)
在java.util.ArrayList.get(ArrayList.java:382)
在com.google.gwt.dev.shell.CompilingClassLoader $ DispatchClassInfoOracle.getClassInfoByDispId(CompilingClassLoader.java:120)
at com.google.gwt.dev.shell.CompilingClassLoader.getClassInfoByDispId(CompilingClassLoader.java:1014)
at com.google.gwt.dev.shell.Jsni $ JsSourceGenWithJsniIdentFixup.visit(Jsni.java:177)
mvn gwt:run
- but when I add in <inherits name='elemental.Elemental'/>
to the gwt.xml file, I get the error below. Caused by: java.lang.IndexOutOfBoundsException: Index: 13, Size: 13
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassInfoByDispId(CompilingClassLoader.java:120)
at com.google.gwt.dev.shell.CompilingClassLoader.getClassInfoByDispId(CompilingClassLoader.java:1014)
at com.google.gwt.dev.shell.Jsni$JsSourceGenWithJsniIdentFixup.visit(Jsni.java:177)