GWT – XML解析器

前端之家收集整理的这篇文章主要介绍了GWT – XML解析器前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试使用GWT xml解析器,但编译器会抛出下一个

[ERROR] Line 62: No source code is available for type
com.google.gwt.xml.client.Document; did you forget to inherit a
required module?
[ERROR] Line 62: No source code is available for type com.google.gwt.xml.client.XMLParser; did you forget to inherit a
required module?
[ERROR] Line 63: No source code is available for type com.google.gwt.xml.client.Element; did you forget to inherit a
required module?
[ERROR] Line 65: No source code is available for type com.google.gwt.xml.client.NodeList; did you forget to inherit a
required module?
[ERROR] Line 69: No source code is available for type com.google.gwt.xml.client.Node; did you forget to inherit a required
module?

我不明白如何解决问题,因为导入代码没有错误:(帮助

解决方法

我似乎要添加到我的gwt.xml代码

<inherits name="com.google.gwt.xml.XML"/>

然后代码编译:)

我希望这可以节省一天的时间

猜你在找的XML相关文章