Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8210285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:01:18+00:00 2026-06-07T10:01:18+00:00

I got this compilation error during my GWT Compilation. I am using this to

  • 0

I got this compilation error during my GWT Compilation. I am using this to parse an XML document.

[ERROR] Line 24: No source code is available for type org.w3c.dom.Node; did you forget to     inherit a required module?
[ERROR] Line 28: No source code is available for type org.w3c.dom.NodeList; did you forget to inherit a required module?
[ERROR] Aborting compile due to errors in some input files

From whatever research i did regarding this it says the classpath might be missing, but since this will be included by default in gwt-user.jar and JRE7, and i have not included any external jars also, so no case of duplicates ! And you cannot have these type of codes in Client side code since it will be converted to javascript

I have a class which makes use of this Node in my shared folder (GWT Model View Presenter Project structure ), which is basically a model !

  1. Is moving the code to server side is the only possible solution?
  2. If 1 is true, how would i be able to refactor my client side presenters accessing this model without the over head of RPC call everytime ?

  3. Are there any alternate approaches to this ?


My GWT config file.

 <module rename-to='xxxxx'>
 <inherits name='com.google.gwt.user.User'/>


 <inherits name='com.google.gwt.user.theme.standard.Standard'/> 
 <inherits name="com.google.gwt.xml.XML" />

  <entry-point class='com.xxxx.xxxxx.gwt.client.ProjectEntry'/>


  <source path='client'/>
  <source path='shared'/>

 </module>

Edit : I have included the xml inherits now ! Its working

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:01:19+00:00Added an answer on June 7, 2026 at 10:01 am

    somewhere in your code base you are using org.w3c.dom.Node and org.w3c.dom.NodeList these are not white listed. In other words you can not use these classes! see;

    https://developers.google.com/web-toolkit/doc/latest/RefJreEmulation

    you should use these packages for xml;

    import com.google.gwt.xml.client.Document;
    import com.google.gwt.xml.client.Element;
    import com.google.gwt.xml.client.Node;
    import com.google.gwt.xml.client.NodeList;
    import com.google.gwt.xml.client.XMLParser;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Got this line of code here but its not working. private void Button_Click(object sender,
I've got this piece of code: using Posix; int fuseguifs_getattr(string path, Posix.Stat *stbuf) {
During compilation of a GWT class I got some compiler exception. I filed a
I'm using preg_match_all for very long pattern. when run the code, i got this
Got this error message while trying to load view: The model item passed into
Got this code for a viewscroller from the apple developers site. @synthesize scrollView1, scrollView2;
Got this error on a big $_GET query in size ~9 000 symbols (they
Got this error message while trying to configure an entitydatasource in the designer: My
I got this code from our frontend guy for headings: <h2 class=headline><span>Foobar</span></h2> The span
folks. So, I've came across this compilation error a while ago.. As there's an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.