GWT - XML ​​Parser

I am trying to use the GWT xml parser, but the compiler throws the following

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

I do not understand how to solve the problem, because the import does not give errors :( Help

+4
source share
1 answer

It seems I should have added gwt.xml to my code, for example

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

then compiled code :)

I hope this saves one day

+8
source

All Articles