gpt4 book ai didi

GWT - XML 解析器

转载 作者:行者123 更新时间:2023-12-04 23:28:56 26 4
gpt4 key购买 nike

我正在尝试使用 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"/>

然后编译代码:)

我希望这能拯救你的一天

关于GWT - XML 解析器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7943160/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com