user592704
user592704

Reputation: 3704

GWT - XML parser

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

[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?

I don't get it how to solve the problem because import code gives no errors :( Help

Upvotes: 4

Views: 1566

Answers (1)

user592704
user592704

Reputation: 3704

It seems I was to add to my gwt.xml code like a

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

then code compiled :)

I hope this saves one's day

Upvotes: 8

Related Questions