分析:
在写gwt的xml文档时出错
[ERROR] [regexlib] - Line 25: No source code is available for type com.google.gwt.xml.client.Document; did you forget to inherit a required module?
原因:
你的xxx.gwt.xml中没有继承到Document源码。
如果直接写<inherits name='com.google.gwt.xml.client.Document' />,
就报[ERROR] Unable to find 'com/google/gwt/xml/client/Document.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
没有找到,因为他也找的是xxx.gwt.xml,
但却发现没有Document.gwt.xml
解决:
整个xml包下只有xml.gwt.xml,在你的xxx.gwt.xml中引用它就可以了
<inherits name='com.google.gwt.xml.XML' />